X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcommand%2Flag.sh;h=d5eadb0e1ac19fb034fed664730d826445cdff0e;hb=65a4e29574b67921ea899b6a1d45806dca11db00;hp=679b6082b87be2d208001cecd29a37dfd93c22d2;hpb=c59b9819031877e1837b1294bb23671bfde9b433;p=pspp diff --git a/tests/command/lag.sh b/tests/command/lag.sh index 679b6082b8..d5eadb0e1a 100755 --- a/tests/command/lag.sh +++ b/tests/command/lag.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` @@ -70,7 +71,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_builddir/src/pspp -o raw-ascii $TEMPDIR/lag.stat +$SUPERVISOR $PSPP -o raw-ascii $TEMPDIR/lag.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare result"