X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fsignals.sh;h=dedfc6c834a8f20129ba3766e9cbbdc19c55acf8;hb=64322c8ee0af7bf5ecc825ccc90513118732f335;hp=3c2cf941e8ae8b3c3c89c752175fb3a71cc012d1;hpb=65f688e8b8528c5e60b0f6d5fe1654abf6fa5c35;p=pspp-builds.git diff --git a/tests/bugs/signals.sh b/tests/bugs/signals.sh index 3c2cf941..dedfc6c8 100755 --- a/tests/bugs/signals.sh +++ b/tests/bugs/signals.sh @@ -26,6 +26,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -58,7 +59,7 @@ mkdir -p $TEMPDIR cd $TEMPDIR activity="sending SIGINT to pspp" -echo 'host kill -INT $PPID' | $PSPP --testing-mode -o raw-ascii > /dev/null 2> $TEMPDIR/stderr1 +echo 'host kill -INT $PPID' | $PSPP --testing-mode > /dev/null 2> $TEMPDIR/stderr1 if [ $? -ne 0 ] ; then no_result ; fi # SIGINT should have caused a clean shutdown @@ -67,7 +68,7 @@ activity="checking for absence of error messages 1" if [ $? -ne 0 ] ; then fail ; fi activity="sending SIGSEGV to pspp" -echo 'host kill -SEGV $PPID' | $PSPP --testing-mode -o raw-ascii > /dev/null 2> $TEMPDIR/stderr2 +echo 'host kill -SEGV $PPID' | $PSPP --testing-mode > /dev/null 2> $TEMPDIR/stderr2 if [ $? -eq 0 ] ; then no_result ; fi # SIGSEGV should have caused an error message