Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp] / tests / command / bignum.sh
index e50819181402d9a996d86d801444030bbafac150..41e1963c170c1106ae024cdbf052be1dc9ab164b 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
 }