]> arthur.barton.de Git - bup.git/blobdiff - test/ext/test-index-check-device
test-index-check-device: unmount "lazily" to avoid potential crash
[bup.git] / test / ext / test-index-check-device
index 1326df1c91b9d5a9cfea7382613039db7cb36fc1..a0861c711938bee4b779d4afca0c9be852c71080 100755 (executable)
@@ -50,7 +50,8 @@ WVPASS chmod 0700 "$tmpmnt1"
 
 # Create trivial content.
 WVPASS date > "$tmpmnt1/foo"
-WVPASS umount "$tmpmnt1"
+# A non-lazy umount was reported to fail on some systems
+WVPASS umount -l "$tmpmnt1"
 
 # Mount twice, so we'll have the same content with different devices.
 WVPASS cp -pP testfs.img testfs2.img