X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fbugs%2Fprint-crash.sh;h=0b66ddb19e0738eb8cc5cec7de07254a21f83376;hb=829d325eaa8f08174fe47c4c0801822e9ee04f52;hp=9c1a7677f99f2e078951e5ae533b3061a4f6b51b;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp diff --git a/tests/bugs/print-crash.sh b/tests/bugs/print-crash.sh index 9c1a7677f9..0b66ddb19e 100755 --- a/tests/bugs/print-crash.sh +++ b/tests/bugs/print-crash.sh @@ -14,7 +14,8 @@ top_builddir=`cd $top_builddir; pwd` PSPP=$top_builddir/src/ui/terminal/pspp -export STAT_CONFIG_PATH=$top_srcdir/config +STAT_CONFIG_PATH=$top_srcdir/config +export STAT_CONFIG_PATH cleanup() @@ -23,6 +24,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -68,7 +70,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv -e /dev/null $TESTFILE if [ $? -ne 1 ] ; then fail ; fi