From: Peter Krempa Date: Fri, 21 Feb 2020 11:06:49 +0000 (+0100) Subject: tests: virstorage: Fix backing file format of created image X-Git-Tag: v6.1.0-rc1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5c8f6e0800106c9331c975344086c7834fcae2a;p=thirdparty%2Flibvirt.git tests: virstorage: Fix backing file format of created image We create some images for testing our code. We've recorded wrong format of the backing file for one of the images though. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c index 39040bf4cb..e7794d6168 100644 --- a/tests/virstoragetest.c +++ b/tests/virstoragetest.c @@ -964,7 +964,7 @@ mymain(void) /* Rewrite wrap and qcow2 back to 3-deep chain, absolute backing */ virCommandFree(cmd); cmd = virCommandNewArgList(qemuimg, "rebase", "-u", "-f", "qcow2", - "-F", "qcow2", "-b", absraw, "qcow2", NULL); + "-F", "raw", "-b", absraw, "qcow2", NULL); if (virCommandRun(cmd, NULL) < 0) ret = -1;