tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 8991b10cac252609574b6265dcd80f86f8fe94bb
parent 41dac5e2d1434cd1be431468ff1192bb88130ef4
Author: Micah Elizabeth Scott <beth@torproject.org>
Date:   Mon, 14 Aug 2023 14:53:52 -0700

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.

Diffstat:
Msrc/test/test_rebind.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 }