X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fno_case_size.sh;h=a03c617b6974521cdccde64b9e1301c3e2a48af8;hb=d01cc07b11b5919369bf4e8989360c2b4fe0380c;hp=e21918343f6ca4c4d687df9e2dd2e76bce4948fc;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp diff --git a/tests/command/no_case_size.sh b/tests/command/no_case_size.sh index e21918343f..a03c617b69 100755 --- a/tests/command/no_case_size.sh +++ b/tests/command/no_case_size.sh @@ -11,6 +11,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$EXEEXT # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -67,37 +68,42 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' pspp.list -diff -b -w pspp.list - <