Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / command / tabs.sh
index c6d968b1884b0c5269c921cf5a2cb2006671a7e6..ad530f45c83cb6cbfbb89881911e3b841ce8b8e7 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
 }