tests: Replace mentions of the removed 'qemucapabilitiesnumbering' tool

Mention the new 'scripts/qemu-replies-tool.py'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Peter Krempa
2024-02-22 14:29:43 +01:00
parent 2ba73ca83b
commit 52cde9f314
2 changed files with 3 additions and 6 deletions

View File

@@ -483,9 +483,8 @@ mymain(void)
* Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies" * Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies"
* to generate updated or new *.replies data files. * to generate updated or new *.replies data files.
* *
* If you manually edit replies files you can run * If you manually edit replies files or want to edit them programmaticaly
* VIR_TEST_REGENERATE_OUTPUT=1 tests/qemucapabilitiesnumbering * use scripts/qemu-replies-tool --regenerate
* to fix the replies ids.
* *
* Once a replies file has been generated and tweaked if necessary, * Once a replies file has been generated and tweaked if necessary,
* you can drop it into tests/qemucapabilitiesdata/ (with a sensible * you can drop it into tests/qemucapabilitiesdata/ (with a sensible

View File

@@ -109,12 +109,10 @@ file on a code change causing a change to the actual QMP query process.
In such case a careful manual modification of the ``.replies`` is tolerated. In such case a careful manual modification of the ``.replies`` is tolerated.
To aid such modification the tool ``tests/qemucapabilitiesnumbering`` can be To aid such modification the tool ``scripts/qemu-replies-tool.py`` can be
used. used.
The tool validates and updates the numbering of the entries in the QMP dump in The tool validates and updates the numbering of the entries in the QMP dump in
case something was modified. case something was modified.
The tool also allows programatic modification of the ``.replies`` file. The tool also allows programatic modification of the ``.replies`` file.
See ``tests/qemucapabilitiesnumbering.c``.