source: gs3-installations/test-suite/trunk/sites/test-suite/collect/filelevel-docver--simpletext/FILELEVEL-DOCVER-TEST-ALL.sh@ 37212

Last change on this file since 37212 was 37212, checked in by davidb, 15 months ago

Example collection to test a text file where it's content is changed between first and second build/ingest

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#!/bin/bash
2
3echo ""
4echo "****"
5echo "Setting text to be 2 paras of lorem ipsun"
6echo "****"
7echo ""
8
9/bin/cp sample-text-2paras.txt import/sample-text.txt
10
11
12echo ""
13echo "****"
14echo "Full Rebuild"
15echo "****"
16echo ""
17
18#import.pl -removeold -OIDtype hash -site test-suite filelevel-docver-simpletext \
19# && full-buildcol.pl -site test-suite filelevel-docver-simpletext
20
21full-import.pl -site test-suite filelevel-docver-simpletext \
22 && full-buildcol.pl -site test-suite filelevel-docver-simpletext
23
24echo ""
25echo "****"
26echo "Updating text to be 3 paras of lorem ipsun"
27echo "****"
28echo ""
29
30/bin/cp sample-text-3paras.txt import/sample-text.txt
31
32echo ""
33echo "****"
34echo "Incremental Rebuild"
35echo "****"
36echo ""
37
38
39#import.pl -incremental -keepold -OIDtype hash -site test-suite filelevel-docver-simpletext \
40# && incremental-buildcol.pl -site test-suite filelevel-docver-simpletext
41
42
43incremental-import.pl -site test-suite filelevel-docver-simpletext \
44 && incremental-buildcol.pl -site test-suite filelevel-docver-simpletext
45
46#incremental-rebuild.pl -OIDtype hash -site test-suite filelevel-docver-simpletext
47
48
49echo ""
50echo ""
51echo "##############################################################################"
52echo "##############################################################################"
53echo "##############################################################################"
54
55
56echo ""
57echo "File-level Doc-Version History doc.xml nminus-1 with 2 paragraphs"
58echo "--------"
59cat archives/HASH06c6.dir/_fldv_history/nminus-1/doc.xml
60echo "--------"
61
62echo ""
63echo "Top level doc.xml 3 paragraphs"
64echo "--------"
65cat archives/HASH06c6.dir/doc.xml
66echo "--------"
Note: See TracBrowser for help on using the repository browser.