X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fsort.sh;h=1eb4d855ae59560860cf5f0169d32a96bfe2271a;hb=b1b43c0d6a64d29a13953aa15d98dd74117faa95;hp=3ad4e993ea17310b674dbe301882446e019034fe;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp diff --git a/tests/command/sort.sh b/tests/command/sort.sh index 3ad4e993ea..1eb4d855ae 100755 --- a/tests/command/sort.sh +++ b/tests/command/sort.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` @@ -115,7 +116,7 @@ for count_repeat_buffers in \ } > sort.pspp || no_result activity="run program" - $SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii sort.pspp + $SUPERVISOR $PSPP --testing-mode -o raw-ascii sort.pspp if [ $? -ne 0 ] ; then no_result ; fi perl -pi -e 's/^\s*$//g' sort.exp sort.out