|
a/tests/partialpurge/partialpurge.sh |
|
b/tests/partialpurge/partialpurge.sh |
|
... |
|
... |
12 |
(
|
12 |
(
|
13 |
cp $d/longmbox $d/testmbox
|
13 |
cp $d/longmbox $d/testmbox
|
14 |
recollindex -Zi $d/testmbox
|
14 |
recollindex -Zi $d/testmbox
|
15 |
|
15 |
|
16 |
echo Should have 2 results: testmbox and longmbox:
|
16 |
echo Should have 2 results: testmbox and longmbox:
|
17 |
recollq -q deletedmessageuniqueterm
|
17 |
recollq -S url -q deletedmessageuniqueterm
|
18 |
|
18 |
|
19 |
echo
|
19 |
echo
|
20 |
echo Changing file and reindexing
|
20 |
echo Changing file and reindexing
|
21 |
cp $d/shortmbox $d/testmbox
|
21 |
cp $d/shortmbox $d/testmbox
|
22 |
recollindex -Zi $d/testmbox
|
22 |
recollindex -Zi $d/testmbox
|
23 |
|
23 |
|
24 |
echo Should have 1 result: longmbox:
|
24 |
echo Should have 1 result: longmbox:
|
25 |
recollq -q deletedmessageuniqueterm
|
25 |
recollq -S url -q deletedmessageuniqueterm
|
26 |
|
26 |
|
27 |
echo
|
27 |
echo
|
28 |
echo Purging whole test file
|
28 |
echo Purging whole test file
|
29 |
recollindex -e $d/testmbox
|
29 |
recollindex -e $d/testmbox
|
30 |
|
30 |
|
31 |
echo Should have 1 result: longmbox:
|
31 |
echo Should have 1 result: longmbox:
|
32 |
recollq -q deletedmessageuniqueterm
|
32 |
recollq -S url -q deletedmessageuniqueterm
|
33 |
|
33 |
|
34 |
echo Should have 2 results: longmbox shortmbox:
|
34 |
echo Should have 2 results: longmbox shortmbox:
|
35 |
recollq -q stablemessageuniqueterm
|
35 |
recollq -S url -q stablemessageuniqueterm
|
36 |
|
36 |
|
37 |
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
37 |
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
38 |
|
38 |
|
39 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
39 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
40 |
|
40 |
|