X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-cancellation-download-librarycancels.sh;h=20f89d2334c916db10806f8da7da07c669b62fd6;hp=2cacdd353777334d0ba6163d73201e2b4c94404b;hb=264629b9f0ace1062b453b2d0ae55e48385189d3;hpb=b5e29ac706004ad29da2e0949beda41e8e27e398 diff --git a/regressions/test-cancellation-download-librarycancels.sh b/regressions/test-cancellation-download-librarycancels.sh index 2cacdd3..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 /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