summaryrefslogtreecommitdiff
path: root/regress-driver
diff options
context:
space:
mode:
Diffstat (limited to 'regress-driver')
-rwxr-xr-xregress-driver4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress-driver b/regress-driver
index 13ee6d96..862e52cd 100755
--- a/regress-driver
+++ b/regress-driver
@@ -96,7 +96,7 @@ if [ -t 0 ]
then
baton=false
fi
-if ] $baton = true ]
+if [ $baton = true ]
then
opts="$opts -b"
fi
@@ -158,7 +158,7 @@ case $mode in
echo "Testing super-raw mode..." >&2
for f in $*; do
${PYTHON} ${GPSD_HOME}/gpsfake -s 38400 -1 -p $opts -r '?WATCH={"enable":true,"raw":2}' $opts ${f} \
- | ./devtools/striplog -1 >${TMP}/test1-$$.chk;
+ | ./devtools/striplog -2 >${TMP}/test1-$$.chk;
./devtools/striplog <${f} >${TMP}/test2-$$.chk;
cmp ${TMP}/test[12]-$$.chk;
done; rm ${TMP}/test[12]-$$.chk