Fixed problem which caused the test to abort if the system had no pspp
[pspp] / tests / bugs / crosstabs.sh
index 4bd6e47e0014e55695f5b01c283b2365958b0760..1635fe589dbabafa8456fbc4b65cf773faf4402e 100755 (executable)
@@ -3,6 +3,7 @@
 # This program tests for a bug which crashed pspp when doing a crosstabs
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 here=`pwd`;
 
@@ -73,7 +74,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
-$here/../src/pspp $TEMPDIR/ct.stat
+$SUPERVISOR $here/../src/pspp $TEMPDIR/ct.stat
 if [ $? -ne 0 ] ; then fail ; fi