]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuTestCapsCacheInsert*: Drop the file cache rather than poisoning it
authorPeter Krempa <pkrempa@redhat.com>
Thu, 2 Mar 2023 16:44:21 +0000 (17:44 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Mar 2023 19:55:50 +0000 (20:55 +0100)
commitf0fec72e3f3eb0afcc16508ad39655e59cd0f0ed
tree799d444b8b27b1f246ad9305f9b430536f0d4a5d
parent856166a2689f1b1e54ba8ee33c439655fdcfba05
qemuTestCapsCacheInsert*: Drop the file cache rather than poisoning it

Make callers use virFileCacheClear to clear the cache before populating
it rather than trying to overwrite what's in it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemusecuritytest.c
tests/qemustatusxml2xmltest.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/testutilsqemu.c