X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fn_of_cases.sh;h=bb685f84ac311bb5da2918ecdfa731f4dad1934e;hb=44daa45c8dcab1198280ebb71d35772a990d3e11;hp=472a345734c7e4c1e3b44108d709e3ea49b6d112;hpb=04fb909bd65eee66428d131ff34a6e1fde42e243;p=pspp-builds.git diff --git a/tests/command/n_of_cases.sh b/tests/command/n_of_cases.sh index 472a3457..bb685f84 100755 --- a/tests/command/n_of_cases.sh +++ b/tests/command/n_of_cases.sh @@ -27,6 +27,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -75,30 +76,29 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <