X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdata-list.sh;h=fc42b94ca077a78c50b52fca819c010f00153c8c;hb=cbdfa35f7fb46948d1ee8aee7b7438cf1a5fd44c;hp=9f073013267f8204d1ece80ca8d6aa46a3202fdf;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp diff --git a/tests/command/data-list.sh b/tests/command/data-list.sh index 9f07301326..fc42b94ca0 100755 --- a/tests/command/data-list.sh +++ b/tests/command/data-list.sh @@ -9,6 +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 # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -105,7 +106,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii --testing-mode $TESTFILE +$SUPERVISOR $PSPP --testing-mode -o raw-ascii --testing-mode $TESTFILE if [ $? -ne 0 ] ; then fail ; fi activity="compare output"