From 2fabb89fee8f3b5284d4b1cf6e573587f71e1317 Mon Sep 17 00:00:00 2001 From: Roman Kagan Date: Thu, 8 Oct 2015 16:50:33 +0300 Subject: [PATCH] v2v: add fake rhev-apt.exe Without rhev-apt.exe the code path where firstboot scripts are created isn't taken, so it isn't tested and v2v/test-v2v-windows-conversion.sh is supposed to fail (it actually doesn't but for another reason, addressed in a followup patch). Signed-off-by: Roman Kagan --- v2v/Makefile.am | 3 ++- v2v/fake-virt-tools/rhev-apt.exe | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 v2v/fake-virt-tools/rhev-apt.exe diff --git a/v2v/Makefile.am b/v2v/Makefile.am index e3fa1b568..9af5d2cfc 100644 --- a/v2v/Makefile.am +++ b/v2v/Makefile.am @@ -109,7 +109,8 @@ SOURCES_C = \ fake_virt_tools_dir = fake-virt-tools FAKE_VIRT_TOOLS = \ - $(fake_virt_tools_dir)/rhsrvany.exe + $(fake_virt_tools_dir)/rhsrvany.exe \ + $(fake_virt_tools_dir)/rhev-apt.exe if HAVE_OCAML diff --git a/v2v/fake-virt-tools/rhev-apt.exe b/v2v/fake-virt-tools/rhev-apt.exe new file mode 100644 index 000000000..2f472e507 --- /dev/null +++ b/v2v/fake-virt-tools/rhev-apt.exe @@ -0,0 +1 @@ +This is a fake rhev-apt.exe, used for testing only