diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-08-08 11:38:58 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-08-11 00:09:28 +0100 |
commit | 8c4f1a70c97b0683003ea91cc41d1891f7484201 (patch) | |
tree | e07d67a0f7ed9dd6be32c8ff054341bb2e79dbf3 /tests | |
parent | 9955af7c6e647780ce4aa0ac25f0357c1cb36344 (diff) |
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 <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |