X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fweight.sh;h=0d4fb3970b21fc685f0c059d72651ff177a75b46;hb=11b8d81d6f403209b15bdf5a58ed2b98cd4ee3bb;hp=82d65e795c793bf32ba58effb1555ad848d8cec3;hpb=ddb6ce30f985ce39be0326193ae0bad452307127;p=pspp-builds.git diff --git a/tests/command/weight.sh b/tests/command/weight.sh index 82d65e79..0d4fb397 100755 --- a/tests/command/weight.sh +++ b/tests/command/weight.sh @@ -23,7 +23,10 @@ export LANG cleanup() { - if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then return ; fi + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -58,6 +61,7 @@ cd $TEMPDIR activity="create program" cat > $TESTFILE << EOF +SET FORMAT F8.3. data list file='$top_srcdir/tests/weighting.data'/AVAR 1-5 BVAR 6-10. weight by BVAR. @@ -69,7 +73,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" @@ -83,87 +87,87 @@ diff -b $TEMPDIR/pspp.list - <