|
a/tests/dates/dates.sh |
|
b/tests/dates/dates.sh |
|
... |
|
... |
12 |
# one result: the 2008 file
|
12 |
# one result: the 2008 file
|
13 |
recollq date:/2009 datetest
|
13 |
recollq date:/2009 datetest
|
14 |
# one result: 2008 file
|
14 |
# one result: 2008 file
|
15 |
recollq date:2007-01-01/2010-02-09 datetest
|
15 |
recollq date:2007-01-01/2010-02-09 datetest
|
16 |
# 2 results : files from 10 and 11 march 2010
|
16 |
# 2 results : files from 10 and 11 march 2010
|
17 |
recollq date:2010-03-10/P10D datetest
|
17 |
recollq -S mtime date:2010-03-10/P10D datetest
|
18 |
# 0 result: no such term
|
18 |
# 0 result: no such term
|
19 |
recollq date:2010-03-10/P10D datetestnotermsmatch
|
19 |
recollq date:2010-03-10/P10D datetestnotermsmatch
|
20 |
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
20 |
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
21 |
|
21 |
|
22 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
22 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|