X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fbugs%2Fexamine-missing2.sh;h=2ea650c88166f2e8d414edd358d077895dcb83b9;hb=329a875d8001b40ff0ed8d621c37e1bc1d7813a6;hp=965b600ee230f2eff7e9adf5e8bcbc69d2cfba95;hpb=6ba6662c69e868290d1e514ffe65ef447e9263d6;p=pspp-builds.git diff --git a/tests/bugs/examine-missing2.sh b/tests/bugs/examine-missing2.sh index 965b600e..2ea650c8 100755 --- a/tests/bugs/examine-missing2.sh +++ b/tests/bugs/examine-missing2.sh @@ -59,7 +59,7 @@ mkdir -p $TEMPDIR cd $TEMPDIR -activity="create program" +activity="create program 1" cat > $TESTFILE << EOF DATA LIST LIST /x * y *. BEGIN DATA. @@ -77,42 +77,57 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi -activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +activity="run program 1" +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - < $TESTFILE << EOF +DATA LIST LIST /X *. +BEGIN DATA. +99 +99 +5.00 +END DATA. + +MISSING VALUE X (99). + +EXAMINE /x + /PERCENTILES=HAVERAGE. + + +EOF +if [ $? -ne 0 ] ; then no_result ; fi + + +activity="run program 2" +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE +if [ $? -ne 0 ] ; then fail ; fi + + pass;