Skip to contentSkip to conversation

master - tests: minor update

PATCH Zdenek Kabelac 1 participant 1 message Oct 26, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e793f34eb73bd4be5a37ed641f9fe11ad1a6d578
Commit:        e793f34eb73bd4be5a37ed641f9fe11ad1a6d578
Parent:        b0333841352b76ce13464b82cb1876ea82b80351
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Oct 25 20:23:41 2020 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Oct 26 13:06:52 2020 +0100

tests: minor update

---
 test/shell/fsadm.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
test/shell/fsadm.sh +2 -2
index 3e7f9083c..910edddd8 100644
@@ -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
 }