X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-cancellation-download-librarycancels.sh;h=20f89d2334c916db10806f8da7da07c669b62fd6;hp=b0d78c9698667d88efd48f8108ac4216d29e115b;hb=428a45c3e15f03e9861e1b551e1ae8da821dba5f;hpb=8ae7e1057f43e9b79260cdf191f39d657fdf0293 diff --git a/regressions/test-cancellation-download-librarycancels.sh b/regressions/test-cancellation-download-librarycancels.sh index b0d78c9..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. # @@ -25,13 +25,12 @@ 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