Greatly simplify PSPP configuration.
[pspp-builds.git] / tests / bugs / overwrite-special-file.sh
index bdc2dc1e168798ce7865871eea4187755dad277d..8089a21acae3808c60b66eaabe6b5a8aec218995 100755 (executable)
@@ -22,6 +22,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }
@@ -80,11 +84,11 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program 1"
-$SUPERVISOR $PSPP --testing-mode $TESTFILE
+$SUPERVISOR $PSPP -o pspp.csv $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="check that foo2.out was created"
-diff -b -B foo2.out - << EOF
+diff -b foo2.out - << EOF
  1
  2
  3