X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-cancellation-download-librarycancels.sh;fp=regressions%2Ftest-cancellation-download-librarycancels.sh;h=0000000000000000000000000000000000000000;hp=117794db4ed929f3fb0915e3b7392e74776e0c37;hb=498758faee6be7e989869bf7feba5e1026a1bb65;hpb=5d93d70b4d36b2337104b3dbca07722fa4d47ff5 diff --git a/regressions/test-cancellation-download-librarycancels.sh b/regressions/test-cancellation-download-librarycancels.sh deleted file mode 100755 index 117794d..0000000 --- a/regressions/test-cancellation-download-librarycancels.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -# libguestfs -# Copyright (C) 2009 Red Hat Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# Test download where the library cancels. -# -# Download big and small files to /dev/full. This should fail but not -# kill the appliance. We test various randomized file sizes because -# there are many potential race conditions -- for example the daemon -# may or may not send all of its data because the error condition is -# detected. - -set -e - -rm -f test.img - -size=$(awk 'BEGIN{ srand(); print int(16*1024*rand()) }') -echo "$0: test size $size (bytes)" - -../fish/guestfish <