X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Foneway-missing.sh;h=c68e5ea18c0c7d53469a98ddb653df610dea4cb5;hb=refs%2Fbuilds%2F20100716040502%2Fpspp;hp=2b16368b121d4c3b270055fe3b87fc381258a6bc;hpb=af4066391f20365e210460a736b1b02efe194da6;p=pspp diff --git a/tests/command/oneway-missing.sh b/tests/command/oneway-missing.sh index 2b16368b12..c68e5ea18c 100755 --- a/tests/command/oneway-missing.sh +++ b/tests/command/oneway-missing.sh @@ -9,7 +9,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps 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` @@ -88,11 +88,11 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="copy output" -cp $TEMPDIR/pspp.list $TEMPDIR/pspp.list1 +cp $TEMPDIR/pspp.csv $TEMPDIR/pspp.csv1 if [ $? -ne 0 ] ; then no_result ; fi activity="create program 2" @@ -126,11 +126,11 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 2" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare outputs" -diff $TEMPDIR/pspp.list $TEMPDIR/pspp.list1 +diff $TEMPDIR/pspp.csv $TEMPDIR/pspp.csv1 if [ $? -ne 0 ] ; then fail ; fi # Now try a missing dependent variable @@ -166,11 +166,11 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 3" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare outputs" -diff $TEMPDIR/pspp.list $TEMPDIR/pspp.list1 +diff $TEMPDIR/pspp.csv $TEMPDIR/pspp.csv1 if [ $? -ne 0 ] ; then fail ; fi