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>
This commit is contained in:
parent
68414c5ee3
commit
8e62d0120e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue