X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Fcommand%2Fsort.sh;h=1eb4d855ae59560860cf5f0169d32a96bfe2271a;hb=ee5220fe34ba25c47120fe5dc2e6e266cb439e92;hp=3ad4e993ea17310b674dbe301882446e019034fe;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp-builds.git diff --git a/tests/command/sort.sh b/tests/command/sort.sh index 3ad4e993..1eb4d855 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