mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
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.
This commit is contained in:
parent
41dac5e2d1
commit
8991b10cac
@ -51,6 +51,7 @@ tmpdir=
|
||||
# shellcheck disable=SC2317
|
||||
clean () {
|
||||
if [ -n "$tmpdir" ] && [ -d "$tmpdir" ]; then
|
||||
ls -l "$tmpdir"
|
||||
rm -rf "$tmpdir"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user