projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compacted values need to start off from 0.
[pspp]
/
tests
/
command
/
sort.sh
diff --git
a/tests/command/sort.sh
b/tests/command/sort.sh
index 0f7dd17783f27f486f3359aceb1b0b6cd202e9b1..72d17cc95567e50659274e85e9827c5fb6b17983 100755
(executable)
--- a/
tests/command/sort.sh
+++ b/
tests/command/sort.sh
@@
-50,7
+50,7
@@
activity="generate stat program"
cat > $TEMPDIR/sort.stat <<EOF
title 'Test SORT procedure'.
cat > $TEMPDIR/sort.stat <<EOF
title 'Test SORT procedure'.
-data list file='$here/sort.data' notable /X000 to X126 1-127
(a)
.
+data list file='$here/sort.data' notable /X000 to X126 1-127.
sort by X000 to x005.
print /X000 to X005.
execute.
sort by X000 to x005.
print /X000 to X005.
execute.
@@
-58,7
+58,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$here/../src/pspp -o raw-ascii $TEMPDIR/sort.stat
+$
SUPERVISOR $
here/../src/pspp -o raw-ascii $TEMPDIR/sort.stat
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