Commit c7d0843f authored by anonym's avatar anonym
Browse files

Merge remote-tracking branch 'origin/test/10926-fix-apparmor-check' into testing

Fix-committed: #10926
parents 76390c2e c2eeb5b4
...@@ -191,7 +191,7 @@ Then /^the running process "(.+)" is confined with AppArmor in (complain|enforce ...@@ -191,7 +191,7 @@ Then /^the running process "(.+)" is confined with AppArmor in (complain|enforce
assert($vm.has_process?(process), "Process #{process} not running.") assert($vm.has_process?(process), "Process #{process} not running.")
pid = $vm.pidof(process)[0] pid = $vm.pidof(process)[0]
end end
assert(mode, get_apparmor_status(pid)) assert_equal(mode, get_apparmor_status(pid))
end end
Then /^the running process "(.+)" is confined with Seccomp in (filter|strict) mode$/ do |process,mode| Then /^the running process "(.+)" is confined with Seccomp in (filter|strict) mode$/ do |process,mode|
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment