[Libguestfs] [PATCH 0/6] v2v: assorted improvements to tests for windows

Roman Kagan rkagan at virtuozzo.com
Mon Oct 5 12:40:00 UTC 2015


This series makes several enhancements to tests for v2v conversion of
Windows guests.  Specifically, it

  - adds a number of files which imitate the stuff that is supposed to
    be present on the host when the actual conversion is performed, but
    may not be there when the tests are run.  This includes certain
    tools and virtio drivers

  - fixes the test for windows conversion to actually check that the
    guest filesystem contains the expected files and directories upon
    conversion

  - adds a test for the case when virtio windows drivers are provied on
    an iso image

  - fixes a bogus failure case in a utility function which triggered on
    the newly added fake virio windows driver directory.

Roman Kagan (6):
  tests: use fake rhsrvany.exe
  tests: add fake rhev-apt.exe
  v2v:test:win: actually check the eventual layout
  tests: use fake virtio-win drivers
  v2v:utils: ignore files w/o extension
  add test for v2v with virtio-win drivers on iso

 Makefile.am                                        |  1 +
 configure.ac                                       |  1 +
 p2v/test-virt-p2v-pxe.sh                           | 10 ++---
 p2v/test-virt-p2v.sh                               |  9 ++---
 tests/fake-virt-tools/rhev-apt.exe                 |  1 +
 tests/fake-virt-tools/rhsrvany.exe                 |  1 +
 tests/fake-virtio-win/.gitignore                   |  1 +
 tests/fake-virtio-win/Makefile.am                  | 34 ++++++++++++++++
 tests/fake-virtio-win/drivers/i386/Win7/netkvm.cat |  1 +
 tests/fake-virtio-win/drivers/i386/Win7/netkvm.inf |  1 +
 tests/fake-virtio-win/drivers/i386/Win7/netkvm.sys |  1 +
 tests/fake-virtio-win/drivers/i386/Win7/qxl.cat    |  1 +
 tests/fake-virtio-win/drivers/i386/Win7/qxl.inf    |  1 +
 tests/fake-virtio-win/drivers/i386/Win7/qxl.sys    |  1 +
 .../fake-virtio-win/drivers/i386/Win7/vioscsi.cat  |  1 +
 .../fake-virtio-win/drivers/i386/Win7/vioscsi.inf  |  1 +
 .../fake-virtio-win/drivers/i386/Win7/vioscsi.sys  |  1 +
 .../fake-virtio-win/drivers/i386/Win7/viostor.cat  |  1 +
 .../fake-virtio-win/drivers/i386/Win7/viostor.inf  |  1 +
 .../fake-virtio-win/drivers/i386/Win7/viostor.sys  |  1 +
 tests/regressions/rhbz1232192.sh                   |  7 +---
 v2v/Makefile.am                                    |  1 +
 v2v/test-v2v-cdrom.sh                              |  7 +---
 v2v/test-v2v-i-disk.sh                             |  7 +---
 v2v/test-v2v-i-ova-formats.sh                      |  7 +---
 v2v/test-v2v-i-ova-gz.sh                           |  7 +---
 v2v/test-v2v-i-ova-two-disks.sh                    |  8 ++--
 v2v/test-v2v-i-ova.sh                              |  8 ++--
 v2v/test-v2v-networks-and-bridges.sh               |  6 +--
 v2v/test-v2v-no-copy.sh                            |  6 +--
 v2v/test-v2v-o-glance.sh                           |  6 +--
 v2v/test-v2v-o-libvirt.sh                          |  6 +--
 v2v/test-v2v-o-null.sh                             |  6 +--
 v2v/test-v2v-o-qemu.sh                             |  6 +--
 v2v/test-v2v-o-rhev.sh                             |  6 +--
 v2v/test-v2v-o-vdsm-options.sh                     |  6 +--
 v2v/test-v2v-oa-option.sh                          |  6 +--
 v2v/test-v2v-of-option.sh                          |  6 +--
 v2v/test-v2v-on-option.sh                          |  6 +--
 v2v/test-v2v-sound.sh                              |  6 +--
 ...ws-conversion.sh => test-v2v-virtio-win-iso.sh} | 45 ++++++++++++++--------
 v2v/test-v2v-windows-conversion.sh                 | 35 +++++++++++------
 v2v/utils.ml                                       |  5 +--
 43 files changed, 140 insertions(+), 139 deletions(-)
 create mode 100644 tests/fake-virt-tools/rhev-apt.exe
 create mode 100644 tests/fake-virt-tools/rhsrvany.exe
 create mode 100644 tests/fake-virtio-win/.gitignore
 create mode 100644 tests/fake-virtio-win/Makefile.am
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/netkvm.cat
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/netkvm.inf
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/netkvm.sys
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/qxl.cat
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/qxl.inf
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/qxl.sys
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/vioscsi.cat
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/vioscsi.inf
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/vioscsi.sys
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/viostor.cat
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/viostor.inf
 create mode 100644 tests/fake-virtio-win/drivers/i386/Win7/viostor.sys
 copy v2v/{test-v2v-windows-conversion.sh => test-v2v-virtio-win-iso.sh} (65%)

-- 
2.4.3




More information about the Libguestfs mailing list