X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fuse%2Ftest-fuse.sh;h=d464f11ebe02ba206047e8d0acb1ac6e51362101;hp=e31ea9d7eea71c5126346c481360bece5c090f0f;hb=204d54609b4b3e4ca637f0ce2fe98c33ce9d008b;hpb=3920ad95f6b2db8fbf20aa26692877a09070cb04 diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh index e31ea9d..d464f11 100755 --- a/fuse/test-fuse.sh +++ b/fuse/test-fuse.sh @@ -207,6 +207,17 @@ for ts in 12345 1234567 987654321; do [ "$(stat -c %Y timestamp)" -eq $ts ] done +stage Checking writes +cp hello.txt copy.txt +echo >> copy.txt +echo world >> copy.txt +echo bigger >> copy.txt +echo biggest >> copy.txt +[ "$(cat copy.txt)" = "hello +world +bigger +biggest" ] + # These ones are not yet tested by the current script: #stage XXX statfs/statvfs #stage XXX xattr operations