From: Micah Elizabeth Scott Date: Mon, 14 Aug 2023 21:53:52 +0000 (-0700) Subject: CI: Diagnostic for failure in test_rebind cleanup X-Git-Tag: tor-0.4.8.4~9^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8991b10cac252609574b6265dcd80f86f8fe94bb;p=thirdparty%2Ftor.git CI: Diagnostic for failure in test_rebind cleanup I saw this test fail intermittently due to what seemed like a filesystem race in docker? The cleanup task was failing with a 'directory not empty' error, despite trying to do a recursive 'rm'. This patch adds an 'ls' to the same directory, hoping the output might be useful to diagnose future intermittent failures. --- diff --git a/src/test/test_rebind.sh b/src/test/test_rebind.sh index aae2a9a6a0..d87e008f9a 100755 --- a/src/test/test_rebind.sh +++ b/src/test/test_rebind.sh @@ -51,6 +51,7 @@ tmpdir= # shellcheck disable=SC2317 clean () { if [ -n "$tmpdir" ] && [ -d "$tmpdir" ]; then + ls -l "$tmpdir" rm -rf "$tmpdir" fi }