X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fexamine-missing2.sh;h=2cd6c14a6a00d930722149a77d5fc5da0d86fe7e;hb=b9a18d43ace66798d4f2eaaab063fd06b30d5f8f;hp=ff07349577a0a19a83d8fc25809ebb9883f6c25e;hpb=b8a90d7b20f0e20b3279d224f8fcd3025fd88905;p=pspp-builds.git diff --git a/tests/bugs/examine-missing2.sh b/tests/bugs/examine-missing2.sh index ff073495..2cd6c14a 100755 --- a/tests/bugs/examine-missing2.sh +++ b/tests/bugs/examine-missing2.sh @@ -27,6 +27,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -58,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. @@ -76,7 +77,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi -activity="run program" +activity="run program 1" $SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi @@ -91,27 +92,54 @@ 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 --testing-mode -o raw-ascii $TESTFILE +if [ $? -ne 0 ] ; then fail ; fi + + pass;