Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / command / filter.sh
index 40729c85ed7b8e896c8bad817e724c9c93e58d53..ec76fba9f099c08157cd123ec647a01df6c8450d 100755 (executable)
@@ -20,6 +20,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }