diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2018-03-01 15:25:05 +0100 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2018-03-01 19:04:19 +0100 |
commit | 328b8dbe8bee9939c7108fdec4fda05fd02511f6 (patch) | |
tree | 1320b9270d8416da1f8225d20ef72df534dc4040 /tests/qemucapabilitiestest.c | |
parent | 6722a32444db6335f2104e67d873199c76e5701e (diff) | |
download | libvirt-328b8dbe8bee9939c7108fdec4fda05fd02511f6.tar.gz |
tests: introduce qemucapsfixreplies helper
Sometimes we don't regenerate QEMU capabilities replies using QEMU
binary but we simply add a new entry manually. In that case you need
to manually fix all the replies ids. This helper will do that for you.
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'tests/qemucapabilitiestest.c')
-rw-r--r-- | tests/qemucapabilitiestest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c index 87807b4135..acfa1106e4 100644 --- a/tests/qemucapabilitiestest.c +++ b/tests/qemucapabilitiestest.c @@ -192,6 +192,9 @@ mymain(void) /* * Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies" * to generate updated or new *.replies data files. + * + * If you manually edit replies files you can run + * "tests/qemucapsfixreplies foo.replies" to fix the replies ids. */ qemuTestDriverFree(&driver); |