From 8c77eaafc1aa3874b641470e8e9ecf50a5b50a55 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 5 Nov 2012 14:58:38 -0600 Subject: [PATCH] test-imagex-ntfs: Use lazy unmount Apparently, it's possible for 'fusermount -u' to return before a NTFS-3g-based filesystem has actually unmounted, therefore causing a subsequent mount to the same location to fail if it happens quickly enough. Using a lazy unmount should fix this I think... --- tests/test-imagex-ntfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-imagex-ntfs b/tests/test-imagex-ntfs index 73cda082..5e9a2a3f 100755 --- a/tests/test-imagex-ntfs +++ b/tests/test-imagex-ntfs @@ -17,7 +17,7 @@ imagex() { } __do_unmount() { - if ! fusermount -u $1; then + if ! fusermount -z -u $1; then error "Failed to unmount \"$1\"" fi -- 2.43.0