rcluncomp had trouble with multiple whitespace in file names because it used echo for output. Replaced by here document. Closes issue #27
This commit is contained in:
parent
557d65f777
commit
13d550a40e
@ -30,5 +30,6 @@ case "$sinfile" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#echo "rcluncomp: $uncompressed" 1>&2
|
cat <<EOF
|
||||||
echo $uncompressed
|
$uncompressed
|
||||||
|
EOF
|
||||||
|
|||||||
15
tests/compressed/compressed.sh
Executable file
15
tests/compressed/compressed.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
topdir=`dirname $0`/..
|
||||||
|
. $topdir/shared.sh
|
||||||
|
|
||||||
|
initvariables $0
|
||||||
|
|
||||||
|
(
|
||||||
|
recollq ASPCSPCCONTENT
|
||||||
|
recollq BSPCSPCCONTENT
|
||||||
|
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||||
|
|
||||||
|
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||||
|
|
||||||
|
checkresult
|
||||||
4
tests/compressed/compressed.txt
Normal file
4
tests/compressed/compressed.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
1 results
|
||||||
|
text/plain [file:///home/dockes/projets/fulltext/testrecoll/compressed/a b.txt.gz] [a b.txt.gz] 43 bytes
|
||||||
|
1 results
|
||||||
|
text/plain [file:///home/dockes/projets/fulltext/testrecoll/compressed/b b.txt.bz2] [b b.txt.bz2] 51 bytes
|
||||||
Loading…
x
Reference in New Issue
Block a user