X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fbugs%2Fcomputebug.sh;h=4ba6a9d1a375486fa55df15d60f4c1569aa17d84;hb=44daa45c8dcab1198280ebb71d35772a990d3e11;hp=cf9e4565545b581d128e3a9310cd3578ce0aeb9d;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp-builds.git diff --git a/tests/bugs/computebug.sh b/tests/bugs/computebug.sh index cf9e4565..4ba6a9d1 100755 --- a/tests/bugs/computebug.sh +++ b/tests/bugs/computebug.sh @@ -20,6 +20,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -49,24 +53,42 @@ pass() } mkdir -p $TEMPDIR - -activity="copy file" -cp $top_srcdir/tests/bugs/computebug.stat $TEMPDIR -if [ $? -ne 0 ] ; then no_result ; fi - -activity="chdir" cd $TEMPDIR if [ $? -ne 0 ] ; then no_result ; fi +activity="create input" +cat > $TESTFILE <