X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-cancellation-download-librarycancels.sh;h=20f89d2334c916db10806f8da7da07c669b62fd6;hp=9db12484215c89db97de03a1eb1ac745dfa47a14;hb=204d54609b4b3e4ca637f0ce2fe98c33ce9d008b;hpb=b095858eb232039230c528b1d720670efad891c2 diff --git a/regressions/test-cancellation-download-librarycancels.sh b/regressions/test-cancellation-download-librarycancels.sh index 9db1248..20f89d2 100755 --- a/regressions/test-cancellation-download-librarycancels.sh +++ b/regressions/test-cancellation-download-librarycancels.sh @@ -1,4 +1,4 @@ -#!/bin/sh - +#!/bin/bash - # libguestfs # Copyright (C) 2009 Red Hat Inc. # @@ -18,20 +18,19 @@ # Test download where the library cancels. # -# +# set -e rm -f test.img ../fish/guestfish <<'EOF' -add ../images/test.sqsh +add ../images/test.iso run -mount-vfs ro squashfs /dev/sda / +mount-ro /dev/sda / # Download a file to /dev/full. -echo "Expect: write: /dev/full: No space left on device" -download /100krandom /dev/full ping-daemon