Skip to content
Snippets Groups Projects
Commit 8991b10c authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

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.
parent 41dac5e2
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ tmpdir=
# shellcheck disable=SC2317
clean () {
if [ -n "$tmpdir" ] && [ -d "$tmpdir" ]; then
ls -l "$tmpdir"
rm -rf "$tmpdir"
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment