X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Faggregate.sh;h=63abc6f3b003ac093ee59434736522d9d64d27c8;hb=1fe8ef2486ef1e853d68bbab967ccb812900128f;hp=b85edba304dc7c32c21c2c4f921833a000b2cb30;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp-builds.git diff --git a/tests/command/aggregate.sh b/tests/command/aggregate.sh index b85edba3..63abc6f3 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 } @@ -142,6 +146,8 @@ cat > agg-skel.pspp < 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