mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Reimplement 'libvirtd-fail' case directly in meson
The test simply invokes libvirtd and expects it to fail. We can do that directly in meson without the need for a wrapper script. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -701,8 +701,14 @@ endforeach
|
||||
test_scripts = []
|
||||
|
||||
if conf.has('WITH_LIBVIRTD')
|
||||
test('libvirtd fail with missing config',
|
||||
libvirtd_prog,
|
||||
args: [ '--config=no-such-conf', '--timeout=5' ],
|
||||
should_fail: true,
|
||||
suite: 'bin',
|
||||
)
|
||||
|
||||
test_scripts += [
|
||||
'libvirtd-fail',
|
||||
'virsh-auth',
|
||||
'virsh-uriprecedence',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user