X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-cancellation-download-librarycancels.sh;h=7b59b7e11e39d6f65649d95973a1f418a2fc084b;hp=2cacdd353777334d0ba6163d73201e2b4c94404b;hb=1214b321621e7750c67423ecf4d9528809e1eeac;hpb=b5e29ac706004ad29da2e0949beda41e8e27e398 diff --git a/regressions/test-cancellation-download-librarycancels.sh b/regressions/test-cancellation-download-librarycancels.sh index 2cacdd3..7b59b7e 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,17 +18,17 @@ # 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"