X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=resize%2Ftest-virt-resize.sh;fp=tools%2Ftest-virt-resize.sh;h=2d5cce90468179449d3dbda4a38f453d628bb39e;hp=2c343cb473debb023334bf0454c8186d55eafe28;hb=ca03635a4c83afbe9b51fe846a8b3d5361462a90;hpb=3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1 diff --git a/tools/test-virt-resize.sh b/resize/test-virt-resize.sh similarity index 52% rename from tools/test-virt-resize.sh rename to resize/test-virt-resize.sh index 2c343cb..2d5cce9 100755 --- a/tools/test-virt-resize.sh +++ b/resize/test-virt-resize.sh @@ -1,11 +1,20 @@ #!/bin/bash - - -# virt-resize does not work on 32 bit because of limitations in Perl -# so short-circuit this test on a 32 bit host. -perl -e 'exit 1 if ~1 == 4294967294' || { - echo "$0: Skipping this test on 32 bit." - exit 0 -} +# libguestfs virt-resize 2.0 test script +# Copyright (C) 2010-2011 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., 675 Mass Ave, Cambridge, MA 02139, USA. export LANG=C set -e