diff options
author | Micah Elizabeth Scott <beth@torproject.org> | 2023-08-14 14:53:52 -0700 |
---|---|---|
committer | Micah Elizabeth Scott <beth@torproject.org> | 2023-08-15 09:52:30 -0700 |
commit | 8991b10cac252609574b6265dcd80f86f8fe94bb (patch) | |
tree | bc3db1decfd129b392e5b6fcc90b69f3e8d4dce9 | |
parent | 41dac5e2d1434cd1be431468ff1192bb88130ef4 (diff) | |
download | tor-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-x | src/test/test_rebind.sh | 1 |
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 } |