New API: write for creating files with fixed content (RHBZ#501889).
[libguestfs.git] / fuse / test-fuse.sh
index 7dc8e4b..e31ea9d 100755 (executable)
@@ -93,8 +93,8 @@ $guestfish <<EOF
   part-disk /dev/sda mbr
   mkfs ext2 /dev/sda1
   mount /dev/sda1 /
-  write-file /hello.txt hello 0
-  write-file /world.txt "hello world" 0
+  write /hello.txt hello
+  write /world.txt "hello world"
   touch /empty
 EOF