X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=clone%2Ftest-virt-sysprep.sh;h=32173897239e89164b4d07a4bae2199b3b8b4dd1;hp=81e01f8932a5c2c67d975a3dee72c89fd1054d42;hb=cd077b8229731e292798f34dd56892cbfa6f1e0e;hpb=2749d6edfbed3b9185b53e9c9befb8d370965b0c diff --git a/clone/test-virt-sysprep.sh b/clone/test-virt-sysprep.sh index 81e01f8..3217389 100755 --- a/clone/test-virt-sysprep.sh +++ b/clone/test-virt-sysprep.sh @@ -14,7 +14,7 @@ # # 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. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. export LANG=C set -e @@ -24,14 +24,9 @@ if [ ! -w /dev/fuse ]; then exit 0 fi -if ! xmlstarlet --help >/dev/null 2>&1; then - echo "SKIPPING virt-sysprep test, because xmlstarlet is not installed." - exit 0 -fi - rm -f test.img guestfish -qemu-img create -f qcow2 -o backing_file=../images/fedora.img test.img +qemu-img create -f qcow2 -o backing_file=../tests/guests/fedora.img test.img # Provide alternate 'virt-inspector' and 'guestmount' binaries # that run the just-built programs.