Changed DFM from open-at-first-access to explicit-open. Before,
[pspp-builds.git] / tests / command / weight.sh
index aaa633bcf887299ed3bf8a70a43d6305179f47b7..df34b49935da4637bb496af2cf26beda0ad1dde2 100755 (executable)
@@ -47,7 +47,7 @@ cd $TEMPDIR
 
 activity="create program"
 cat > $TEMPDIR/weight.stat <<EOF
-data list file='$here/weighting.data'/AVAR 1-5 BVAR 6-10.
+data list file='$top_srcdir/tests/weighting.data'/AVAR 1-5 BVAR 6-10.
 weight by BVAR.
 
 descriptives AVAR /statistics all /format serial.
@@ -58,12 +58,12 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run program"
-$here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/weight.stat
+$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/weight.stat
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare results"
 diff -B -b $TEMPDIR/pspp.list - <<EOF
-1.1 DATA LIST.  Reading 1 record from file "$here/weighting.data".
+1.1 DATA LIST.  Reading 1 record from file $top_srcdir/tests/weighting.data.
 +--------+------+-------+------+
 |Variable|Record|Columns|Format|
 #========#======#=======#======#