summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2020-10-25 20:23:41 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2020-10-26 13:06:52 +0100
commite793f34eb73bd4be5a37ed641f9fe11ad1a6d578 (patch)
tree2d4682fdaacb8509e3c4c3dce3f10c0fc027baa6
parentb0333841352b76ce13464b82cb1876ea82b80351 (diff)
downloadlvm2-e793f34eb73bd4be5a37ed641f9fe11ad1a6d578.tar.gz
tests: minor update
-rw-r--r--test/shell/fsadm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/shell/fsadm.sh b/test/shell/fsadm.sh
index 3e7f9083c..910edddd8 100644
--- a/test/shell/fsadm.sh
+++ b/test/shell/fsadm.sh
@@ -54,8 +54,8 @@ test ! -d "$mount_space_dir" && mkdir "$mount_space_dir"
cleanup_mounted_and_teardown()
{
- umount "$mount_dir" || true
- umount "$mount_space_dir" || true
+ umount "$mount_dir" 2>/dev/null || true
+ umount "$mount_space_dir" 2>/dev/null || true
aux teardown
}