search for: mktest

Displaying 11 results from an estimated 11 matches for "mktest".

2016 May 18
0
[PATCH v2 04/11] customize: change windows firstboot path
...ogram Files"; "Guestfs"; "Firstboot"] in g#mkdir_p (firstboot_dir // "scripts"); diff --git a/v2v/test-v2v-in-place.sh b/v2v/test-v2v-in-place.sh index e55daa0..444790c 100755 --- a/v2v/test-v2v-in-place.sh +++ b/v2v/test-v2v-in-place.sh @@ -99,7 +99,7 @@ mktest () :> "$script" :> "$expected" -firstboot_dir="/Program Files/Red Hat/Firstboot" +firstboot_dir="/Program Files/Guestfs/Firstboot" mktest "is-dir \"$firstboot_dir\"" true mktest "is-file \"$firstboot_dir/firstboot.bat...
2015 Oct 26
3
[PATCH] v2v: virtio-win: include *.dll too
...xldd.dll @@ -0,0 +1 @@ +This is a fake qxldd.dll, used for testing only diff --git a/v2v/test-v2v-in-place.sh b/v2v/test-v2v-in-place.sh index f685ddb..1e9972d 100755 --- a/v2v/test-v2v-in-place.sh +++ b/v2v/test-v2v-in-place.sh @@ -108,6 +108,7 @@ for drv in netkvm qxl vioscsi viostor; do mktest "is-file \"$virtio_dir/$drv.$sfx\"" true done done +mktest "is-file \"$virtio_dir/qxldd.dll\"" true guestfish --ro -a "$img" -i < "$script" > "$response" diff -u "$expected" "$response" diff --...
2015 Oct 08
2
[PATCH v2 4/5] v2v:tests: use fake virtio-win drivers
...ows-conversion.sh @@ -42,6 +42,7 @@ if ! test -f $f || ! test -s $f; then fi export VIRT_TOOLS_DATA_DIR="$PWD/fake-virt-tools" +export VIRTIO_WIN="$PWD/fake-virtio-win" # Return a random element from the array 'choices'. function random_choice @@ -85,10 +86,17 @@ mktest () :> "$script" :> "$expected" -mktest "is-dir \"/Program Files/Red Hat/Firstboot\"" true -mktest "is-file \"/Program Files/Red Hat/Firstboot/firstboot.bat\"" true -mktest "is-dir \"/Program Files/Red Hat/Firstboot/scri...
2015 Oct 08
1
[PATCH v2 5/5] v2v: add test for v2v with virtio-win drivers on iso
...s $d \ + --root $root + +# Test the libvirt XML metadata and a disk was created. +test -f $d/windows.xml +test -f $d/windows-sda + +# Test that the drivers have been copied over into the guest +script="$d/test.fish" +expected="$d/expected" +response="$d/response" + +mktest () +{ + local cmd="$1" exp="$2" + + echo "echo '$cmd'" >> "$script" + echo "$cmd" >> "$expected" + + echo "$cmd" >> "$script" + echo "$exp" >> "$expected&quo...
2016 May 18
21
[PATCH v2 00/11] Getting it work with SLES / openSUSE
Hi all, v2 includes all comments from Pino and Richard. I also removed the mkdir /run/lvm in the init since it only failed in one case and couldn't reproduce it anymore. Cédric Bosdonnat (11): v2v: also search for windows virtio drivers in symlinks Update packagelist for SLES and openSUSE customize: fix windows firstboot script customize: change windows firstboot path customize:
2017 Oct 29
4
[Bug 13109] New: rsync hangs during transfer of many small files
...vious bug report _this_ time, there are no hard links required to make rsync hang, only regular files are involved. How to reproduce ================ [ Using Linux on e.g. ext4, about 3 GiB disk space required ] ############################ mkdir rstest cd rstest wget 'http://www.hlipp.de/rs/mktest' chmod u+x mktest mkdir files cd files wget 'http://www.hlipp.de/rs/1518_0219.jpg_original' wget 'http://www.hlipp.de/rs/1518_0219.jpg' cd .. ./mktest 5000 ############################ Background: This is based on a larger backup script (which explains the somewhat odd direct...
2011 May 04
1
Reference Classes: replacing '.self' with an .Rda image of '.self' from within a method? (was replacing '.self' with an .Rda image of '.self' from within a method?)
Sorry guys, but I chose a really stupid name before (no "reference classes"). Hope it's okay to re-post. Cheers, Janko >>> ORIGINAL MESSAGE <<< Dear list, Is it possible to update or reassign '.self' with an image of '.self' (e.g. a locally stored .Rda file) from within a method? I know that this might sound akward, but here's the use
2015 Oct 20
5
[PATCH v4 0/3] v2v: add --in-place mode
This series is an attempt to add a mode of virt-v2v operation where it leaves the config and disk image conversion, rollback on errors, registering with the destination hypervisor, etc. to a third-party toolset, and performs only tuning of the guest OS to run in the KVM-based hypervisor. Roman Kagan (3): v2v: add --in-place mode v2v: document --in-place v2v: add test for --in-place ---
2015 Oct 05
18
[PATCH 0/6] v2v: assorted improvements to tests for windows
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
2011 Jun 03
3
Unable to build appliance
...tests config.h config.h.in config.log config.status configure configure.ac contrib daemon examples fish fuse gnulib haskell html images initramfs inspector java libguestfs.pc libguestfs.pc.in libtool m4 maint.mk make-recipes.sh ocaml perl po python recipes regressions ruby src stamp-h1 subdir-rules.mktest-tool tools chroot: cannot run command `/sbin/depmod': No such file or directory make[2]: *** [../initramfs/fakeroot.log] Error 1 make[2]: Leaving directory `/tmp/libguestfs-1.2.14/appliance' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/libguestfs-1.2.14' make: *...
2015 Aug 11
41
[PATCH v2 00/17] v2v: add --in-place mode
This series is a second attempt to add a mode of virt-v2v operation where it leaves the config and disk image conversion, rollback on errors, registering with the destination hypervisor, etc. to a third-party toolset, and performs only tuning of the guest OS to run in the KVM-based hypervisor. The first 14 patches are just refactoring and rearrangement of the code, factoring the implementation