From: Joel Rosdahl Date: Sun, 19 Dec 2021 15:38:36 +0000 (+0100) Subject: fix: Don’t run trim_dir test suite unless cleanup tests are enabled X-Git-Tag: v4.6~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d16ee97c43df2bf3c4f09194d072d5943e328a6d;p=thirdparty%2Fccache.git fix: Don’t run trim_dir test suite unless cleanup tests are enabled Fixes #974. --- diff --git a/test/suites/trim_dir.bash b/test/suites/trim_dir.bash index b23f233ae..ba8dd3cfc 100644 --- a/test/suites/trim_dir.bash +++ b/test/suites/trim_dir.bash @@ -1,3 +1,9 @@ +SUITE_trim_dir_PROBE() { + if [ -z "$ENABLE_CACHE_CLEANUP_TESTS" ]; then + echo "cleanup tests disabled" + fi +} + SUITE_trim_dir() { # ------------------------------------------------------------------------- TEST "Trim secondary cache directory"