git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New API: write for creating files with fixed content (RHBZ#501889).
[libguestfs.git]
/
fuse
/
test-fuse.sh
diff --git
a/fuse/test-fuse.sh
b/fuse/test-fuse.sh
index
2b4d0d7
..
e31ea9d
100755
(executable)
--- a/
fuse/test-fuse.sh
+++ b/
fuse/test-fuse.sh
@@
-86,15
+86,15
@@
function stage ()
((s++))
}
((s++))
}
-stage Create filesystem with some inital content
+stage Create filesystem with some init
i
al content
$guestfish <<EOF
sparse "$image" 10M
run
part-disk /dev/sda mbr
mkfs ext2 /dev/sda1
mount /dev/sda1 /
$guestfish <<EOF
sparse "$image" 10M
run
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
touch /empty
EOF