X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fbugs%2Foverwrite-special-file.sh;h=2bac4413014e0d57e0bb084cf0953ae4e0916511;hb=b9a18d43ace66798d4f2eaaab063fd06b30d5f8f;hp=bdc2dc1e168798ce7865871eea4187755dad277d;hpb=707848060e414fe93458834446dd7cdbf800667f;p=pspp-builds.git diff --git a/tests/bugs/overwrite-special-file.sh b/tests/bugs/overwrite-special-file.sh index bdc2dc1e..2bac4413 100755 --- a/tests/bugs/overwrite-special-file.sh +++ b/tests/bugs/overwrite-special-file.sh @@ -22,6 +22,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -84,7 +88,8 @@ $SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="check that foo2.out was created" -diff -b -B foo2.out - << EOF +perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list +diff -b foo2.out - << EOF 1 2 3