X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdo-if.sh;h=8cb6b824016542a45e54326d9f52091e05a1ce23;hb=af4066391f20365e210460a736b1b02efe194da6;hp=185dc4e4fc4488cb9ad86974f776f39a5e48de21;hpb=2b1e8448aee0d326ad5c2f805c27ee4f39b4a447;p=pspp-builds.git diff --git a/tests/command/do-if.sh b/tests/command/do-if.sh index 185dc4e4..8cb6b824 100755 --- a/tests/command/do-if.sh +++ b/tests/command/do-if.sh @@ -21,8 +21,12 @@ export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / - #rm -rf $TEMPDIR + rm -rf $TEMPDIR }