diff options
author | baude <bbaude@redhat.com> | 2018-12-18 09:07:46 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-12-18 12:43:49 -0600 |
commit | 8e62d0120ee4c25047decc8311453c98a835d178 (patch) | |
tree | f3317cb1914bc6e2ffd83eb552a16daf7e6b40dc /contrib/python | |
parent | 68414c5ee3066538903d04d55f135202ca4d333f (diff) | |
download | podman-8e62d0120ee4c25047decc8311453c98a835d178.tar.gz podman-8e62d0120ee4c25047decc8311453c98a835d178.tar.bz2 podman-8e62d0120ee4c25047decc8311453c98a835d178.zip |
all flakes must die
when cleaning up after a test, don't fail if cleanup doesn't run
perfectly.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'contrib/python')
-rwxr-xr-x | contrib/python/podman/test/test_runner.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |