X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Faggregate.sh;h=0992e45bced84e734faab4dd25c57b00c68a2f39;hb=10ac8c99bd7a4155216e9bc3e48dd30e63b11642;hp=b85edba304dc7c32c21c2c4f921833a000b2cb30;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp-builds.git diff --git a/tests/command/aggregate.sh b/tests/command/aggregate.sh index b85edba3..0992e45b 100755 --- a/tests/command/aggregate.sh +++ b/tests/command/aggregate.sh @@ -19,6 +19,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -150,6 +154,10 @@ EOF activity="expected output (itemwise missing) create" cat > agg-itemwise.out < agg-columnwise.out </dev/null 2>&1 + $SUPERVISOR $PSPP --testing-mode -e /dev/null $name.pspp if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output" - perl -pi -e 's/^\s*$//g' pspp.list agg-$missing.out + perl -pi -e 's/^\s*$//g;s/^.*:\d+: //;' pspp.list agg-$missing.out diff -b -w pspp.list agg-$missing.out if [ $? -ne 0 ] ; then fail ; fi done