X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdo-if.sh;h=f55bcdae2911278f8e3b5a34ba2cb1b171fd821c;hb=b7994155882996ee11fb1b6b044c429b0d2f8a44;hp=8cb6b824016542a45e54326d9f52091e05a1ce23;hpb=af4066391f20365e210460a736b1b02efe194da6;p=pspp-builds.git diff --git a/tests/command/do-if.sh b/tests/command/do-if.sh index 8cb6b824..f55bcdae 100755 --- a/tests/command/do-if.sh +++ b/tests/command/do-if.sh @@ -8,7 +8,7 @@ TEMPDIR=/tmp/pspp-tst-$$ if [ -z "$top_builddir" ] ; then top_builddir=. ; fi if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi top_builddir=`cd $top_builddir; pwd` -PSPP=$top_builddir/src/ui/terminal/pspp +PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -108,11 +108,10 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run test1" -$SUPERVISOR $PSPP --testing-mode test1.pspp +$SUPERVISOR $PSPP -o pspp.csv test1.pspp if [ $? -ne 0 ] ; then no_result ; fi activity="compare test1 results" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list diff -u $TEMPDIR/test1.out $TEMPDIR/test1.expected if [ $? -ne 0 ] ; then fail ; fi