summaryrefslogtreecommitdiffstats
path: root/regressions/test-cancellation-upload-daemoncancels.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regressions/test-cancellation-upload-daemoncancels.sh')
-rwxr-xr-xregressions/test-cancellation-upload-daemoncancels.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/regressions/test-cancellation-upload-daemoncancels.sh b/regressions/test-cancellation-upload-daemoncancels.sh
index 4962c255..8204530b 100755
--- a/regressions/test-cancellation-upload-daemoncancels.sh
+++ b/regressions/test-cancellation-upload-daemoncancels.sh
@@ -22,16 +22,9 @@
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.
echo "Expect: write: /test: No space left on device"
@@ -40,4 +33,4 @@ echo "Expect: write: /test: No space left on device"
ping-daemon
EOF
-rm -f test.img
+rm -f test1.img