Rewrite PSPP output engine.
[pspp-builds.git] / tests / bugs / overwrite-special-file.sh
index c23a8d4a858cdbbcd9f6cb17338226fc87ecfe7f..a40eae66eb317ac01275d6b89221e3b814c63eae 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
 }
@@ -84,7 +88,6 @@ $SUPERVISOR $PSPP --testing-mode $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="check that foo2.out was created"
-perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
 diff -b foo2.out - << EOF
  1
  2