X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fget-data-gnm.sh;h=c6cf630c039c5819d3d60f2c5a4886ad9dd8fb7c;hb=8bfe6b7a62becebdd5a8b37badec3f0508a99aad;hp=70cb24d136a2b5fd04b63833ab9a677a9bec6938;hpb=c725a4f64718ef1ee4139c27c94b2eb6447b51b4;p=pspp-builds.git diff --git a/tests/command/get-data-gnm.sh b/tests/command/get-data-gnm.sh index 70cb24d1..c6cf630c 100755 --- a/tests/command/get-data-gnm.sh +++ b/tests/command/get-data-gnm.sh @@ -1,6 +1,6 @@ #!/bin/sh -# This program tests that pspp can read gnumeric files +# This program tests that pspp can read Gnumeric files TEMPDIR=/tmp/pspp-tst-$$ TESTFILE=$TEMPDIR/`basename $0`.sps @@ -26,6 +26,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -86,125 +87,99 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 1" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare output 1" -diff $TEMPDIR/pspp.list - < /dev/null +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE > /dev/null if [ $? -ne 0 ] ; then fail ; fi activity="compare output 2" -diff $TEMPDIR/pspp.list - <