[pve-devel] applied: [PATCH qemu-server v2 1/2] add tests for qemu_img_convert

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Oct 17 14:00:41 CEST 2019


On 10/17/19 1:32 PM, Dominik Csapak wrote:
> Add tests for the qemu_img_convert parameters to the resulting
> 'qemu-img convert' call
> 
> we mock the 'run_command' and extract the 'cmd' parameter to
> compare with what we expect
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v1:
> * changed /usr/bin/env perl to /usr/bin/perl
> * better commit message
> * better test structure
> 
>  test/Makefile                      |   5 +-
>  test/run_qemu_img_convert_tests.pl | 210 +++++++++++++++++++++++++++++
>  2 files changed, 214 insertions(+), 1 deletion(-)
>  create mode 100755 test/run_qemu_img_convert_tests.pl
> 

applied, thanks!





More information about the pve-devel mailing list