projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Convert GET DATA /TYPE=TXT tests to use Autotest.
[pspp]
/
tests
/
command
/
rank.sh
diff --git
a/tests/command/rank.sh
b/tests/command/rank.sh
index 8114c438f9aef125df005effd67797d95fac3946..626778828f613b7d72521a83322e774df432fd9b 100755
(executable)
--- a/
tests/command/rank.sh
+++ b/
tests/command/rank.sh
@@
-137,8
+137,8
@@
if [ $? -ne 1 ] ; then fail ; fi
activity="compare errors"
perl -pi -e 's/^\s*$//g' $TEMPDIR/errs
diff -b $TEMPDIR/errs - << EOF
activity="compare errors"
perl -pi -e 's/^\s*$//g' $TEMPDIR/errs
diff -b $TEMPDIR/errs - << EOF
-$TEMPDIR/rank.sh.sps:15: error: RANK: Syntax error
expecting \`(' at end of command
.
-$TEMPDIR/rank.sh.sps:19: error: RANK: Syntax error
expecting integer at \`d'
.
+$TEMPDIR/rank.sh.sps:15: error: RANK: Syntax error
at end of command: expecting \`('
.
+$TEMPDIR/rank.sh.sps:19: error: RANK: Syntax error
at \`d': expecting integer
.
$TEMPDIR/rank.sh.sps:25: error: RANK: Variable x already exists.
$TEMPDIR/rank.sh.sps:30: error: RANK: Too many variables in INTO clause.
EOF
$TEMPDIR/rank.sh.sps:25: error: RANK: Variable x already exists.
$TEMPDIR/rank.sh.sps:30: error: RANK: Too many variables in INTO clause.
EOF