X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-cancellation-upload-daemoncancels.sh;h=605d70fb801340301bae7266ef861cf720524cd2;hp=835c3bb4b8ba4f026388c82104858b72fde6f742;hb=ed74706d80394fef709ec0258fc5cf7d974ff8b1;hpb=4f4880303693bc2e55ce431e87302098654b7f03 diff --git a/regressions/test-cancellation-upload-daemoncancels.sh b/regressions/test-cancellation-upload-daemoncancels.sh index 835c3bb..605d70f 100755 --- a/regressions/test-cancellation-upload-daemoncancels.sh +++ b/regressions/test-cancellation-upload-daemoncancels.sh @@ -22,22 +22,14 @@ set -e -rm -f test.img - -../fish/guestfish <<'EOF' -alloc test.img 10M -run - -sfdiskM /dev/sda , -mkfs ext2 /dev/sda1 -mount /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" -upload test.img /test ping-daemon EOF -rm -f test.img +rm -f test1.img