Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / bugs / big-input-2.sh
index ecc0946868d6114c39ce0d3b02d89e3d26245ae1..b0da13bbf3a0af4075e27f87e4ba1ee51e2c2585 100755 (executable)
@@ -24,6 +24,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }