Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / stats / percentiles-enhanced.sh
index 6d6e2b03126fb7982e4f1a604ce0dd8313942e31..f818f820b48e35b6f1d04cbe6b03a5dc13817688 100755 (executable)
@@ -23,9 +23,12 @@ export LANG
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
-     :
 }