Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf_file/qemu_conf/seccomp: add checkpoint for invalid value #5008

Merged
merged 1 commit into from
Jul 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions libvirt/tests/src/conf_file/qemu_conf/seccomp_sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from virttest import utils_libvirtd

from virttest import libvirt_version
from virttest.utils_test import libvirt


# Using as lower capital is not the best way to do, but this is just a
Expand Down Expand Up @@ -71,6 +72,8 @@ def get_qemu_command_sandbox_option(vm):
test.fail('Libvirtd is expected to be started '
'with seccomp_sandbox = '
'%s' % seccomp_sandbox)
libvirt.check_logfile("syntax error",
params.get("libvirtd_debug_file", ""))
return
if expected_result == 'unbootable':
test.fail('Libvirtd is not expected to be started '
Expand Down