git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid warning about implicit declaration of strlen.
[libguestfs.git]
/
regressions
/
test-cancellation-upload-daemoncancels.sh
diff --git
a/regressions/test-cancellation-upload-daemoncancels.sh
b/regressions/test-cancellation-upload-daemoncancels.sh
index
4962c25
..
605d70f
100755
(executable)
--- a/
regressions/test-cancellation-upload-daemoncancels.sh
+++ b/
regressions/test-cancellation-upload-daemoncancels.sh
@@
-22,22
+22,14
@@
set -e
set -e
-rm -f test.img
-
-../fish/guestfish <<'EOF'
-alloc test.img 10M
-run
-
-part-disk /dev/sda mbr
-mkfs ext2 /dev/sda1
-mount-options "" /dev/sda1 /
+rm -f test1.img
+../fish/guestfish -N fs -m /dev/sda1 <<'EOF'
# Upload image, daemon should cancel because the image is too large
# to upload into itself.
# Upload image, daemon should cancel because the image is too large
# to upload into itself.
-echo "Expect: write: /test: No space left on device"
-upload test.img /test
ping-daemon
EOF
-upload test.img /test
ping-daemon
EOF
-rm -f test.img
+rm -f test
1
.img