add test with dir: spec on a path containing spaces

This commit is contained in:
Jean-Francois Dockes 2012-12-25 10:21:56 +01:00
parent 0ad84b575f
commit be4a6a9420
2 changed files with 7 additions and 4 deletions

View File

@ -4,9 +4,10 @@ topdir=`dirname $0`/..
. $topdir/shared.sh . $topdir/shared.sh
initvariables $0 initvariables $0
(
recollq DirWithBlanksUnique 2> $mystderr | recollq DirWithBlanksUnique
egrep -v '^Recoll query: ' > $mystdout recollq DirWithBlanksUnique dir:\"$tstdata/"dir with blanks"\"
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1 diff -w ${myname}.txt $mystdout > $mydiffs 2>&1

View File

@ -1,2 +1,4 @@
1 results 1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/dir with blanks/dwb.txt] [dwb.txt] 20 bytes
1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/dir with blanks/dwb.txt] [dwb.txt] 20 bytes text/plain [file:///home/dockes/projets/fulltext/testrecoll/dir with blanks/dwb.txt] [dwb.txt] 20 bytes