From 8c4f1a70c97b0683003ea91cc41d1891f7484201 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 8 Aug 2019 11:38:58 +0100 Subject: test suite: Honour new DGIT_TEST_KEEP_MUSTCLEAN FTR, using this typically results in runes like DGIT_TEST_KEEP_MUSTCLEAN=y tests/using-intree tests/tests/ftpmasterapi-http 2>&1 | tee tests/tmp/log hanging instead of exiting, because the http server is still running and its stderr is still going to tee. Signed-off-by: Ian Jackson --- tests/lib | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/lib b/tests/lib index 6f36130..c788744 100644 --- a/tests/lib +++ b/tests/lib @@ -25,6 +25,7 @@ END trap ' rc=$? set +e + [ "x$DGIT_TEST_KEEP_MUSTCLEAN" != x ] || \ [ "x$DGIT_TEST_TMP" = x ] || rm -rf $DGIT_TEST_TMP/must-clean set -e test $rc = 0 || t-report-failure -- cgit v1.2.3