Changeset 37202


Ignore:
Timestamp:
2023-01-28T23:11:05+13:00 (15 months ago)
Author:
davidb
Message:

Further tweaks

Location:
gs3-installations/test-suite/trunk/sites/test-suite/collect/testing-filelevel-docver
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/test-suite/trunk/sites/test-suite/collect/testing-filelevel-docver/FILELEVEL-DOCVER-TEST-STEP1.sh

    r37196 r37202  
    3838./FULL-REBUILD.sh
    3939
    40 echo ""
    41 echo "##############################################################################"
    42 echo "##############################################################################"
    43 echo "##############################################################################"
    44 echo ""
    45 
    46 echo ""
    47 echo "####"
    48 echo "The collection has been reset and freshly rebuilt"
    49 echo "####"
    50 
    51 echo ""
    52 echo "# Test 1:"
    53 echo "Access the collection's About Page in your browser through:"
    54 echo "    $gs_library_url/collection/$col"
    55 echo ""
    56 echo "The  page should say that it contains 7 documents"
    57 
    58 echo ""
    59 echo "# Test 2:"
    60 echo "Access the collection's Browser by Title Classifier page (CL1):"
    61 echo "    $gs_library_url/collection/$col/browse/CL1"
    62 echo ""
    63 echo "It should list all 7 documents"
    64 echo ""
    65 
    66 echo "####"
    67 echo ""
     40if [ $? = 0 ] ; then
     41    echo ""
     42    echo "##############################################################################"
     43    echo "##############################################################################"
     44    echo "##############################################################################"
     45    echo ""
     46   
     47    echo ""
     48    echo "####"
     49    echo "The collection has been reset and freshly rebuilt"
     50    echo "####"
     51   
     52    echo ""
     53    echo "# Test 1:"
     54    echo "Access the collection's About Page in your browser through:"
     55    echo "    $gs_library_url/collection/$col"
     56    echo ""
     57    echo "The  page should say that it contains 7 documents"
     58   
     59    echo ""
     60    echo "# Test 2:"
     61    echo "Access the collection's Browser by Title Classifier page (CL1):"
     62    echo "    $gs_library_url/collection/$col/browse/CL1"
     63    echo ""
     64    echo "It should list all 7 documents"
     65    echo ""
     66   
     67    echo "####"
     68    echo ""
     69fi
  • gs3-installations/test-suite/trunk/sites/test-suite/collect/testing-filelevel-docver/FILELEVEL-DOCVER-TEST-STEP2.sh

    r37196 r37202  
    3131
    3232## incremental-rebuild.pl -site $site -library_url $gs_library_url "$@" $col
     33
     34
     35echo ""
     36echo "##############################################################################"
     37echo "##############################################################################"
     38echo "##############################################################################"
     39echo ""
     40
     41echo ""
     42echo "####"
     43echo "2 documents have been deleted (import/23/{23__1.item,23__2.item})"
     44echo "1 document has had its title metadata edited (import/09/09_1_1.item)"
     45echo "The collection has then been incrementall rebuilt"
     46echo "####"
     47
     48# echo ""
     49# echo "# Test 1:"
     50# echo "Access the collection's About Page in your browser through:"
     51# echo "    $gs_library_url/collection/$col"
     52# echo ""
     53# echo "The  page should say that it contains 7 documents"
     54
     55# echo ""
     56# echo "# Test 2:"
     57# echo "Access the collection's Browser by Title Classifier page (CL1):"
     58# echo "    $gs_library_url/collection/$col/browse/CL1"
     59# echo ""
     60# echo "It should list all 7 documents"
     61# echo ""
     62
     63echo "####"
     64echo ""
  • gs3-installations/test-suite/trunk/sites/test-suite/collect/testing-filelevel-docver/FULL-REBUILD.sh

    r37175 r37202  
    44
    55
     6# If interested in testing out hardlinking
     7#
     8#import.pl -removeold -assocfile_copymode hardlink -site $site "$@" $col \
     9#    && full-buildcol.pl -site $site -library_url $gs_library_url "$@" $col
     10
     11
    612full-rebuild.pl -site $site -library_url $gs_library_url "$@" $col
    713
Note: See TracChangeset for help on using the changeset viewer.