tests/qapi-schema: Fix test 'QAPI rST doc'
commit976474fdb2706626987677990e22f10d71918902
authorMarkus Armbruster <armbru@redhat.com>
Fri, 16 Feb 2024 14:58:25 +0000 (16 15:58 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 26 Feb 2024 09:43:56 +0000 (26 10:43 +0100)
tree2e7de2904ad1d08e60a1ec719a4314c92d021996
parent3cee17e739d54cca5b6c6975f335a2115e5dbbbd
tests/qapi-schema: Fix test 'QAPI rST doc'

The test compares Sphinx plain-text output against a golden reference.
To work on Windows hosts, it filters out carriage returns in both
files.  Unfortunately, the filter doesn't work: it creates an empty
file.  Comparing empty files always succeeds.

Fix the filter, and update the golden reference to current Sphinx
output.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240216145841.2099240-2-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qapi-schema/doc-good.txt
tests/qapi-schema/meson.build