X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fprint.sh;h=4a0527588de2cb321887549d094b5927433e6cbb;hb=ff59ee87992b440aab8083ee041f9aecd2ce68ca;hp=44273ece20fd3832ef1f96d8ad335de10354ac9d;hpb=cbdfa35f7fb46948d1ee8aee7b7438cf1a5fd44c;p=pspp-builds.git diff --git a/tests/command/print.sh b/tests/command/print.sh index 44273ece..4a052758 100755 --- a/tests/command/print.sh +++ b/tests/command/print.sh @@ -37,6 +37,10 @@ export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -101,7 +105,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii --testing-mode $TEMPDIR/print.stat > $TEMPDIR/errs +$SUPERVISOR $PSPP --testing-mode --error-file=$TEMPDIR/errs $TEMPDIR/print.stat if [ $? -ne 0 ] ; then fail ; fi activity="compare print.out"