Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / command / trimmed-mean.sh
index 7346e526cf00aa9c64cafa38380bd5e88b09de7c..e2a5af71ae4597e0e1a7b8d7c2ce80ff1cffd56a 100755 (executable)
@@ -24,6 +24,10 @@ export LANG
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }