tests: do not fail in the cleanup phase

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano
2018-10-12 13:25:56 +02:00
parent e1521c6323
commit 1f8b844c2b

View File

@ -27,6 +27,7 @@ done
shift $((OPTIND -1))
function cleanup {
set +xeuo pipefail
# aggressive cleanup as tests may crash leaving crap around
umount '^(shm|nsfs)'
umount '\/run\/netns'