diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-05-03 12:15:27 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-05-03 12:30:05 +0100 |
commit | 00202b9c2941c2b4ff514c5ea32818807f42acf4 (patch) | |
tree | 1d32464375eb243bfa10e636c27a009ba086f8dc /tools | |
parent | f072a21f3aef6779aaa77329578ae3677a685d85 (diff) | |
download | libguestfs-00202b9c2941c2b4ff514c5ea32818807f42acf4.tar.gz libguestfs-00202b9c2941c2b4ff514c5ea32818807f42acf4.tar.xz libguestfs-00202b9c2941c2b4ff514c5ea32818807f42acf4.zip |
tests: Regression test for RHBZ#701814.
This commit adds a tests/xml directory, and an LD_PRELOAD module which
can fake arbitrary libvirt XML from an external file (and is therefore
a much more flexible test than using the libvirt test:// driver
alone).
Also added is one regression test for:
https://bugzilla.redhat.com/show_bug.cgi?id=701814
Loading the given libvirt XML using Sys::Guestfs::Lib::open_guest
used to fail with the error:
format parameter is empty or contains disallowed characters at /home/rjones/d/libguestfs/perl/blib/lib/Sys/Guestfs/Lib.pm line 256.
Thanks to Tom Horsley for supplying the test data.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions