]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-ntfs
test-imagex-ntfs: Use lazy unmount
[wimlib] / tests / test-imagex-ntfs
index a129a70fcf7ea5e8439bf2771434788398fca6e2..5e9a2a3f365ccec392cee1cef9fc3b4d119082eb 100755 (executable)
@@ -9,15 +9,15 @@
 # remain mounted.
 
 set -e
+srcdir=`pwd`
 cd tests
-srcdir=..
 
 imagex() {
        ../imagex $@ > /dev/null
 }
 
 __do_unmount() {
-       if !  fusermount -u $1; then
+       if !  fusermount -z -u $1; then
                error "Failed to unmount \"$1\""
        fi