Eric Blake
ab8336d3aa
tests: be more explicit on qcow2 versions in virstoragetest
...
While working on v1.0.5-maint (the branch in use on Fedora 19)
with the host at Fedora 20, I got a failure in virstoragetest.
I traced it to the fact that we were using qemu-img to create a
qcow2 file, but qemu-img changed from creating v2 files by
default in F19 to creating v3 files in F20. Rather than leaving
it up to qemu-img, it is better to write the test to force
testing of BOTH file formats (better code coverage and all).
This patch alone does not fix all the failures in v1.0.5-maint;
for that, we must decide to either teach the older branch to
understand v3 files, or to reject them outright as unsupported.
But for upstream, making the test less dependent on changing
qemu-img defaults is always a good thing.
* tests/virstoragetest.c (testPrepImages): Simplify creation of
raw file; check if qemu supports compat and if so use it.
Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 974e5914522099ba4d463e24941289b785fe2096)
Conflicts:
tests/virstoragetest.c - hardcode test to v2, since this branch doesn't handle v3 correctly
2014-01-15 11:01:48 -07:00
..
2013-02-22 15:49:51 +00:00
2013-02-05 10:47:00 -07:00
2012-03-27 09:54:49 -06:00
2012-03-09 14:36:31 +01:00
2012-09-13 21:19:58 +08:00
2012-11-02 09:56:23 -06:00
2012-11-02 09:56:23 -06:00
2012-12-17 17:50:50 +00:00
2013-02-27 10:55:24 -05:00
2013-02-27 10:55:24 -05:00
2013-02-27 10:55:24 -05:00
2012-08-02 14:36:23 -06:00
2012-11-13 00:35:36 +01:00
2012-05-21 06:26:34 -04:00
2012-05-21 06:26:34 -04:00
2012-11-23 09:25:20 +01:00
2013-03-04 17:45:38 -07:00
2012-09-27 10:24:52 +01:00
2012-10-30 08:54:32 +01:00
2013-01-14 13:40:04 +00:00
2012-10-19 17:35:09 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 14:36:23 -06:00
2013-02-24 18:11:40 +01:00
2012-08-02 17:14:17 -06:00
2012-07-18 20:08:27 +01:00
2012-12-20 14:49:20 -07:00
2012-07-21 20:15:02 +02:00
2011-11-30 10:12:30 +00:00
2012-05-08 16:57:37 -06:00
2012-04-02 09:33:54 -06:00
2012-07-21 19:45:02 +02:00
2013-02-07 14:08:14 -05:00
2013-02-25 17:38:11 -07:00
2013-02-16 07:44:35 -05:00
2012-12-21 11:17:14 +00:00
2012-09-17 14:59:37 -04:00
2012-12-21 11:19:50 +00:00
2012-05-08 16:57:37 -06:00
2012-03-27 15:52:25 +01:00
2010-05-20 13:50:03 -04:00
2013-02-08 11:34:26 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:19:49 +00:00
2011-07-29 17:17:21 +02:00
2012-03-26 14:45:22 -06:00
2012-12-21 11:17:13 +00:00
2013-01-11 11:03:23 +00:00
2013-02-08 11:34:26 +00:00
2013-02-26 10:37:50 -07:00
2013-01-30 14:42:22 -07:00
2013-02-25 02:49:06 -05:00
2012-03-26 14:45:22 -06:00
2012-12-21 11:19:49 +00:00
2010-04-06 11:09:46 -04:00
2012-12-21 11:19:50 +00:00
2012-09-20 16:30:55 -06:00
2012-07-30 13:09:57 +01:00
2012-12-21 11:19:49 +00:00
2011-06-01 11:58:15 +02:00
2011-07-22 15:18:32 +01:00
2013-02-08 11:34:26 +00:00
2013-02-08 11:49:14 +00:00
2013-02-26 10:06:25 -07:00
2012-12-21 11:19:49 +00:00
2013-02-25 17:37:14 -07:00
2012-09-20 16:30:55 -06:00
2013-02-25 10:58:04 +01:00
2013-02-25 10:58:04 +01:00
2013-02-08 11:49:14 +00:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-12-21 11:17:13 +00:00
2011-12-22 13:01:09 -07:00
2013-02-25 17:38:11 -07:00
2013-01-14 21:00:51 +01:00
2013-02-25 17:38:11 -07:00
2013-02-25 17:38:11 -07:00
2013-02-08 11:34:26 +00:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-12-21 11:17:14 +00:00
2012-09-20 16:30:55 -06:00
2012-07-27 07:42:34 -06:00
2012-12-21 11:19:48 +00:00
2012-09-20 16:30:55 -06:00
2012-07-18 20:08:27 +01:00
2013-02-27 10:11:52 +01:00
2012-11-02 13:36:49 +00:00
2012-12-21 11:19:49 +00:00
2011-07-11 09:21:37 -06:00
2013-02-25 17:38:11 -07:00
2013-02-25 17:38:11 -07:00
2013-02-08 11:34:26 +00:00
2012-03-27 15:52:25 +01:00
2013-02-08 11:34:26 +00:00
2013-02-08 11:34:26 +00:00
2012-12-21 11:19:49 +00:00
2012-07-27 07:42:34 -06:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:19:50 +00:00
2013-02-05 16:23:14 -07:00
2012-12-21 11:19:49 +00:00
2013-02-16 07:44:34 -05:00
2013-02-12 09:00:15 -07:00
2012-01-26 14:11:13 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:19:50 +00:00
2013-01-04 10:57:09 -07:00
2012-12-21 11:19:50 +00:00
2013-01-22 17:29:25 +01:00
2013-03-04 17:42:16 +00:00
2013-01-17 16:39:10 -07:00
2012-08-07 11:59:08 +01:00
2012-11-07 09:04:18 -07:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-09-12 11:27:22 -06:00
2012-12-21 11:19:50 +00:00
2014-01-15 11:01:48 -07:00
2012-12-21 11:19:50 +00:00
2012-12-11 14:32:39 -07:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:50 +00:00
2013-02-08 11:34:26 +00:00
2013-02-08 11:34:26 +00:00
2013-02-08 11:34:26 +00:00
2013-02-08 11:34:26 +00:00
2013-02-08 11:34:26 +00:00