X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fget-data-gnm.sh;h=08cad6a3b802fdbe3421aed6fda86730354b3039;hb=173d1687aea88e0e5e1b1d8615ed68ebefb15d08;hp=c28c8dd478c9f6dc4dd04ea8ddd5dbb2ac27a069;hpb=bd17d2af982332ee1791998361b1ac6731fe14fa;p=pspp diff --git a/tests/command/get-data-gnm.sh b/tests/command/get-data-gnm.sh index c28c8dd478..08cad6a3b8 100755 --- a/tests/command/get-data-gnm.sh +++ b/tests/command/get-data-gnm.sh @@ -11,7 +11,7 @@ if [ -z "$top_builddir" ] ; then top_builddir=. ; fi top_srcdir=`cd $top_srcdir; pwd` top_builddir=`cd $top_builddir; pwd` -PSPP=$top_builddir/src/ui/terminal/pspp +PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT STAT_CONFIG_PATH=$top_srcdir/config export STAT_CONFIG_PATH @@ -87,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 - <