From 8e62d0120ee4c25047decc8311453c98a835d178 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 18 Dec 2018 09:07:46 -0600 Subject: all flakes must die when cleaning up after a test, don't fail if cleanup doesn't run perfectly. Signed-off-by: baude --- contrib/python/podman/test/test_runner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/python/podman/test/test_runner.sh b/contrib/python/podman/test/test_runner.sh index bf097e2b2..651b2e74f 100755 --- a/contrib/python/podman/test/test_runner.sh +++ b/contrib/python/podman/test/test_runner.sh @@ -41,6 +41,7 @@ export TMPDIR=`mktemp -d /tmp/podman.XXXXXXXXXX` trap "cleanup $TMPDIR" EXIT function umount { + set +xeuo pipefail # xargs -r always ran once, so write any mount points to file first mount |awk "/$1/"' { print $3 }' >${TMPDIR}/mounts if [[ -s ${TMPDIR}/mounts ]]; then -- cgit v1.2.3-54-g00ecf