X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Fcommand%2Fsys-info.sh;h=ab87ddeacb0c60e88fccf345ba0a696b329057c7;hb=e1ca4ab566c6f8317ba8ff0fd27046b82b4acd63;hp=35a64c8788f9f611cf6136ae5cd5b517f6be0463;hpb=c324bad16b90b760d990697fccca863a20a54c23;p=pspp diff --git a/tests/command/sys-info.sh b/tests/command/sys-info.sh index 35a64c8788..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`; @@ -59,10 +60,9 @@ display $JDATE. finish. EOF if [ $? -ne 0 ] ; then no_result ; fi -cp $TEMPDIR/pspp.list /tmp/bar 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" @@ -74,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