projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beginning of VFM cleanup.
[pspp-builds.git]
/
tests
/
command
/
sort.sh
diff --git
a/tests/command/sort.sh
b/tests/command/sort.sh
index c53c19720583637e6cce2353a13dc95a10057227..945fa5c9c9dc12afffb3d73440cebef0668ad502 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.
@@
-68,9
+68,10
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="check sorted"
sort $TEMPDIR/pspp.list > $TEMPDIR/sortsort
activity="check sorted"
sort $TEMPDIR/pspp.list > $TEMPDIR/sortsort
+cp $TEMPDIR/pspp.list ~/pspp.list
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi
-diff -B -b $TEMPDIR/sortsort $TEMPDIR/pspp.list
+diff -
u -
B -b $TEMPDIR/sortsort $TEMPDIR/pspp.list
if [ $? -ne 0 ] ; then fail ; fi
# 2. It should be six elements wide
if [ $? -ne 0 ] ; then fail ; fi
# 2. It should be six elements wide