X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fshbang.sh;h=b0961302ff3b474ae7798293c2e47a563a3df209;hb=c6308e236260e0de05eb161c02a8e9eadf6246c7;hp=826d5dc4d898cff3983404316b677d5fc84259f7;hpb=3bbb4370239deb29ebbf813d258aef6249e2a431;p=pspp-builds.git diff --git a/tests/bugs/shbang.sh b/tests/bugs/shbang.sh index 826d5dc4..b0961302 100755 --- a/tests/bugs/shbang.sh +++ b/tests/bugs/shbang.sh @@ -69,17 +69,17 @@ 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 0 ] ; then fail ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b -w $TEMPDIR/pspp.list - << EOF - a --------- - 1.00 - 2.00 +perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.csv +diff -b -w $TEMPDIR/pspp.csv - << EOF +Table: Data List +a +1.00 +2.00 EOF if [ $? -ne 0 ] ; then fail ; fi