X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fsys-info.sh;h=ab87ddeacb0c60e88fccf345ba0a696b329057c7;hb=6ccbd384363db2e304ffe8cc51fcd2eac0a5349a;hp=96420ae055b20f00da8b7e9fa3b5a94fcc47231d;hpb=c0ed03fd27298cf2b18f0fb373e919ab8b4ae4f4;p=pspp diff --git a/tests/command/sys-info.sh b/tests/command/sys-info.sh index 96420ae055..ab87ddeacb 100755 --- a/tests/command/sys-info.sh +++ b/tests/command/sys-info.sh @@ -3,6 +3,7 @@ # This program tests the SYSFILE INFO command TEMPDIR=/tmp/pspp-tst-$$ +TESTFILE=$TEMPDIR/`basename $0`.sps here=`pwd`; @@ -61,7 +62,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 1" -$here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/save.stat +$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/save.stat if [ $? -ne 0 ] ; then no_result ; fi activity="create program 2" @@ -73,7 +74,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 2" -$here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/read.stat +$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/read.stat if [ $? -ne 0 ] ; then no_result ; fi