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