X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdo-if.sh;h=8cb6b824016542a45e54326d9f52091e05a1ce23;hb=64322c8ee0af7bf5ecc825ccc90513118732f335;hp=185dc4e4fc4488cb9ad86974f776f39a5e48de21;hpb=24d4c143974d0cf3258fe2d355695e820c4ff24e;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 }