]> xenbits.xensource.com Git - libvirt.git/commit
qemusecuritytest: Call real virFileExists in mock
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Apr 2024 08:17:11 +0000 (10:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Apr 2024 14:55:25 +0000 (16:55 +0200)
commit01f2b614a25f60b9deab44e3efd05646958776ad
tree423807ce8ce35d0349698255581d2ecf6b7af580
parent4b5cc57ed35dc24d11673dd3f04bfb8073c0340d
qemusecuritytest: Call real virFileExists in mock

When I suggested to Jim to call real virFileExists() I forgot to
also suggest calling init_syms(). Without it, real_virFileExists
pointer might be left unset. And indeed, that's what we were
seeing on FreeBSD.

This effectively reverts commit 4b5cc57ed35dc24d11673dd3f04bfb8073c0340d.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
tests/qemusecuritymock.c