On 2/10/22 15:32, Jiri Denemark wrote: > Tests testVirPCIVPDReadVPDBytes and testVirPCIVPDParseFullVPDInvalid > failed to properly close open fildescriptors in some cases. Let's fix it > by switching to VIR_AUTOCLOSE in the whole file. > > Signed-off-by: Jiri Denemark <jdene...@redhat.com> > --- > tests/virpcivpdtest.c | 23 ++++++++--------------- > 1 file changed, 8 insertions(+), 15 deletions(-)
Reviewed-by: Michal Privoznik <mpriv...@redhat.com> Michal