projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moments: Fix null pointer dereference in calc_moments().
[pspp]
/
tests
/
command
/
n_of_cases.sh
diff --git
a/tests/command/n_of_cases.sh
b/tests/command/n_of_cases.sh
index 472a345734c7e4c1e3b44108d709e3ea49b6d112..bb685f84ac311bb5da2918ecdfa731f4dad1934e 100755
(executable)
--- a/
tests/command/n_of_cases.sh
+++ b/
tests/command/n_of_cases.sh
@@
-27,6
+27,7
@@
cleanup()
echo "NOT cleaning $TEMPDIR"
return ;
fi
echo "NOT cleaning $TEMPDIR"
return ;
fi
+ cd /
rm -rf $TEMPDIR
}
rm -rf $TEMPDIR
}
@@
-75,30
+76,29
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
activity="run program"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
-perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
-diff -b $TEMPDIR/pspp.list - <<EOF
- X
---------
- 1.00
- 2.00
- 3.00
- 4.00
- 5.00
- 6.00
- 7.00
- 8.00
- 9.00
- 10.00
- 11.00
- 12.00
- 13.00
- 14.00
- 15.00
+diff -c $TEMPDIR/pspp.csv - <<EOF
+Table: Data List
+X
+1.00
+2.00
+3.00
+4.00
+5.00
+6.00
+7.00
+8.00
+9.00
+10.00
+11.00
+12.00
+13.00
+14.00
+15.00
EOF
if [ $? -ne 0 ] ; then fail ; fi
EOF
if [ $? -ne 0 ] ; then fail ; fi