projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix arg type for expr_parse.
[pspp]
/
tests
/
command
/
sort.sh
diff --git
a/tests/command/sort.sh
b/tests/command/sort.sh
index 72d17cc95567e50659274e85e9827c5fb6b17983..44e5fd0546cb8146a3f3f7556430c67152413bfc 100755
(executable)
--- a/
tests/command/sort.sh
+++ b/
tests/command/sort.sh
@@
-3,6
+3,7
@@
# This program tests the sort command
TEMPDIR=/tmp/pspp-tst-$$
# This program tests the sort command
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`;
here=`pwd`;
@@
-47,7
+48,7
@@
cd $TEMPDIR
activity="generate stat program"
activity="generate stat program"
-cat > $TE
MPDIR/sort.stat
<<EOF
+cat > $TE
STFILE
<<EOF
title 'Test SORT procedure'.
data list file='$here/sort.data' notable /X000 to X126 1-127.
title 'Test SORT procedure'.
data list file='$here/sort.data' notable /X000 to X126 1-127.
@@
-58,7
+59,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
MPDIR/sort.stat
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
STFILE
if [ $? -ne 0 ] ; then no_result ; fi
# Now there should be some sorted data in $TEMPDIR/pspp.list
if [ $? -ne 0 ] ; then no_result ; fi
# Now there should be some sorted data in $TEMPDIR/pspp.list