X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcommand%2Frank.sh;h=d64e97586afce6d90092f813640434356f57fb2b;hb=3b76a8aa4e808b2e6bdb792c369fda72a61304de;hp=aac20882562b89c8663f83ba80cace54dd56896f;hpb=1255b66223eac8ff1b0abf138ead22fd801c6633;p=pspp-builds.git diff --git a/tests/command/rank.sh b/tests/command/rank.sh index aac20882..d64e9758 100755 --- a/tests/command/rank.sh +++ b/tests/command/rank.sh @@ -81,7 +81,7 @@ if [ $? -ne 0 ] ; then no_result ; fi # Check that it properly handles failed transformations. activity="run program 1" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE > $TEMPDIR/err +$SUPERVISOR $PSPP --testing-mode -o raw-ascii -e $TEMPDIR/err $TESTFILE if [ $? -ne 1 ] ; then fail ; fi activity="diff 1" @@ -125,17 +125,12 @@ RANK x * Too many variables in INTO RANK x /RANK INTO foo bar wiz. - -* Alpha group -RANK x BY a. - - EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program (syntax errors)" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE > $TEMPDIR/errs +$SUPERVISOR $PSPP --testing-mode -o raw-ascii -e $TEMPDIR/errs $TESTFILE if [ $? -ne 1 ] ; then fail ; fi activity="compare errors" @@ -145,7 +140,6 @@ $TEMPDIR/rank.sh.sps:15: error: RANK: Syntax error expecting \`(' at end of comm $TEMPDIR/rank.sh.sps:19: error: RANK: Syntax error expecting integer at \`d'. $TEMPDIR/rank.sh.sps:25: error: RANK: Variable x already exists. $TEMPDIR/rank.sh.sps:30: error: RANK: Too many variables in INTO clause. -$TEMPDIR/rank.sh.sps:33: warning: RANK: a is not a numeric variable. It will not be included in the variable list. EOF if [ $? -ne 0 ] ; then fail ; fi @@ -526,7 +520,7 @@ END DATA. RANK x. -MODIFY VARS /drop ran001 TO ran999. +DELETE VAR ran001 TO ran999. LIST. @@ -534,7 +528,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 4" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE > /dev/null +$SUPERVISOR $PSPP --testing-mode -o raw-ascii -e /dev/null $TESTFILE if [ $? -ne 0 ] ; then fail ; fi