X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fterminate.sh;h=ee3ffa878be161d3bc37a05275282d6b6f10c2a7;hb=baf657198fcf0cabe289246dc07a82da67c86f5b;hp=f96ba66970cf368b2144ea17a2e868cde0a24695;hpb=7f3ac8559f71179a95fad28a30882ca476d8ac99;p=pspp diff --git a/tests/bugs/terminate.sh b/tests/bugs/terminate.sh index f96ba66970..ee3ffa878b 100755 --- a/tests/bugs/terminate.sh +++ b/tests/bugs/terminate.sh @@ -19,6 +19,7 @@ export STAT_CONFIG_PATH cleanup() { + cd / rm -rf $TEMPDIR } @@ -65,7 +66,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" # This must exit with non zero status -$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/foo.sps > /dev/null 2> $TEMPDIR/stderr +$SUPERVISOR $here/../src/pspp -o raw-ascii -e /dev/null $TEMPDIR/foo.sps 2> $TEMPDIR/stderr if [ $? -eq 0 ] ; then fail ; fi activity="compare stderr"