Clean up output subsystem.
[pspp-builds.git] / tests / command / oneway.sh
index 8ab912634edca835270e96f28e32a84430c72c06..c0d8dc33278e8a8eb8bb1ec53129f50d543fba3f 100755 (executable)
@@ -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`
@@ -92,7 +93,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run program"
-$SUPERVISOR $top_builddir/src/pspp -o raw-ascii $TESTFILE
+$SUPERVISOR $PSPP -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
@@ -106,7 +107,7 @@ diff -b  $TEMPDIR/pspp.list - << EOF
 +--------+------+
 2.1 ONEWAY.  Descriptives
 #===============#========#==#====#==============#==========#=======================#=======#=======#
-#               |        #  |    |              |          |    95% Confidence     |       |       #
+#               |        #  |    |              |          |95% Confidence Interval|       |       #
 #               |        #  |    |              |          +-----------+-----------+       |       #
 #               |        # N|Mean|Std. Deviation|Std. Error|Lower Bound|Upper Bound|Minimum|Maximum#
 #===============#========#==#====#==============#==========#===========#===========#=======#=======#