From: Joel Rosdahl Date: Fri, 24 Jul 2020 18:17:43 +0000 (+0200) Subject: Make it possible to keep the test directory when running test suite X-Git-Tag: v4.0~304 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1be13538b9f2200f8833fcd571d72aae101d9576;p=thirdparty%2Fccache.git Make it possible to keep the test directory when running test suite --- diff --git a/test/run b/test/run index eb17a04fe..c24153703 100755 --- a/test/run +++ b/test/run @@ -545,8 +545,9 @@ for suite in $suites; do done cd / -rm -rf $ABS_TESTDIR - +if [ -z "$KEEP_TESTDIR"]; then + rm -rf $ABS_TESTDIR +fi if $skipped; then exit $skip_code else