X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fcompute-fmt.sh;h=ea860281fb43d58e919702d30f4579436f7ec926;hb=5819d4ec857165ed6e0570688bf3df76027f2cf2;hp=d4c0c22399463d8d7652a8e99cc02e072a8091d7;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp diff --git a/tests/bugs/compute-fmt.sh b/tests/bugs/compute-fmt.sh index d4c0c22399..ea860281fb 100755 --- a/tests/bugs/compute-fmt.sh +++ b/tests/bugs/compute-fmt.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 # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -65,7 +66,7 @@ SAVE outfile='$TEMPDIR/temp.sav'. EOF if [ $? -ne 0 ] ; then no_result ; fi -$SUPERVISOR $top_builddir/src/pspp -o raw-ascii $TEMPDIR/foo.sps +$SUPERVISOR $PSPP -o raw-ascii $TEMPDIR/foo.sps if [ $? -ne 0 ] ; then fail; fi