]> wimlib.net Git - wimlib/commitdiff
test-imagex-ntfs: fix empty xattr creation
authorEric Biggers <ebiggers3@gmail.com>
Fri, 27 Mar 2015 01:54:53 +0000 (20:54 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 27 Mar 2015 05:28:32 +0000 (00:28 -0500)
tests/test-imagex-ntfs

index 4fd1baa1145926328e98f1e4f186d3419729faf6..8abab0d368bb4557f1b1f084ae03f0a4f9f10d9f 100755 (executable)
@@ -195,15 +195,15 @@ do_test 'echo -n > file;
 
 msg "file with empty named data stream and non-empty unnamed data stream"
 do_test 'echo 1 > file;
 
 msg "file with empty named data stream and non-empty unnamed data stream"
 do_test 'echo 1 > file;
-        setfattr -n user.ads -v "" file;'
+        setfattr -n user.ads -v 0x file;'
 
 msg "file with empty named data stream and empty unnamed data stream"
 do_test 'echo -n > file;
 
 msg "file with empty named data stream and empty unnamed data stream"
 do_test 'echo -n > file;
-        setfattr -n user.ads -v "" file;'
+        setfattr -n user.ads -v 0x file;'
 
 msg "file with named data stream with hardlink"
 do_test 'echo 999 > file;
 
 msg "file with named data stream with hardlink"
 do_test 'echo 999 > file;
-        setfattr -n user.ads -v "888" file;
+        setfattr -n user.ads -v 0x123456 file;
         ln file link;'
 
 msg "C source code of wimlib"
         ln file link;'
 
 msg "C source code of wimlib"