X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcommand%2Fmatch-files.sh;h=65d0f4571af54b8e3829c82018b55ec10a8b23e0;hb=8acca2de53c1852f38726f70fc6516b34732a79f;hp=41da6f5c4e02dd7209a1eb8826498a37203cf711;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp diff --git a/tests/command/match-files.sh b/tests/command/match-files.sh index 41da6f5c4e..65d0f4571a 100755 --- a/tests/command/match-files.sh +++ b/tests/command/match-files.sh @@ -10,6 +10,7 @@ TESTFILE=$TEMPDIR/match-files.pspp 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` @@ -164,7 +165,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run $name.pspp" - $SUPERVISOR $top_builddir/src/pspp -o raw-ascii $name.pspp >/dev/null 2>&1 + $SUPERVISOR $PSPP -o raw-ascii $name.pspp >/dev/null 2>&1 if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output" @@ -189,7 +190,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run $name.pspp" -$SUPERVISOR $top_builddir/src/pspp -o raw-ascii $name.pspp >/dev/null 2>&1 +$SUPERVISOR $PSPP -o raw-ascii $name.pspp >/dev/null 2>&1 if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output" @@ -238,7 +239,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run $name.pspp" -$SUPERVISOR $top_builddir/src/pspp -o raw-ascii $name.pspp >/dev/null 2>&1 +$SUPERVISOR $PSPP -o raw-ascii $name.pspp >/dev/null 2>&1 if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output"