X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=tests%2Ftest-imagex-ntfs;h=5e9a2a3f365ccec392cee1cef9fc3b4d119082eb;hb=8c77eaafc1aa3874b641470e8e9ecf50a5b50a55;hp=1012c344707b7abea53ca1c44d4722241bd7a48b;hpb=5a172ad88105a66fe903aeacc0f576d7ff2211cd;p=wimlib diff --git a/tests/test-imagex-ntfs b/tests/test-imagex-ntfs index 1012c344..5e9a2a3f 100755 --- a/tests/test-imagex-ntfs +++ b/tests/test-imagex-ntfs @@ -9,8 +9,7 @@ # remain mounted. set -e -srcdir=${srcdir:-.} -srcdir=`realpath $srcdir` +srcdir=`pwd` cd tests imagex() { @@ -18,7 +17,7 @@ imagex() { } __do_unmount() { - if ! fusermount -u $1; then + if ! fusermount -z -u $1; then error "Failed to unmount \"$1\"" fi @@ -199,7 +198,7 @@ do_test 'echo 1 > file; setfattr -n user.aa -v 1111 file; setfattr -n user.aaa -v 1111 file; setfattr -n user.aaaa -v 1111 file;' - + msg "file with named data streams with same contents as other file" do_test 'echo -n > file; setfattr -n user.a -v 1111 file; @@ -236,7 +235,7 @@ do_test 'touch file; touch file2; setfattr -n system.ntfs_acl -v 0s`cat $srcdir/tests/security_descriptor_1.base64` file setfattr -n system.ntfs_acl -v 0s`cat $srcdir/tests/security_descriptor_2.base64` file' - + msg "files with different security descriptors and some with the same security descriptor" do_test 'touch file; touch file2;