summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <beth@torproject.org>2023-08-14 14:53:52 -0700
committerMicah Elizabeth Scott <beth@torproject.org>2023-08-15 09:52:30 -0700
commit8991b10cac252609574b6265dcd80f86f8fe94bb (patch)
treebc3db1decfd129b392e5b6fcc90b69f3e8d4dce9
parent41dac5e2d1434cd1be431468ff1192bb88130ef4 (diff)
downloadtor-8991b10cac252609574b6265dcd80f86f8fe94bb.tar.gz
tor-8991b10cac252609574b6265dcd80f86f8fe94bb.zip
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.
-rwxr-xr-xsrc/test/test_rebind.sh1
1 files changed, 1 insertions, 0 deletions
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
}