Commit c2eeb5b4 authored by anonym's avatar anonym
Browse files

Fix typo which have broken our AppArmor checks.

This `assert` will always pass since `mode` always is either one of
two String:s. The intention was clearly `assert_equal`.

Will-fix: #10926
parent a25a7daa
......@@ -191,7 +191,7 @@ Then /^the running process "(.+)" is confined with AppArmor in (complain|enforce
assert($vm.has_process?(process), "Process #{process} not running.")
pid = $vm.pidof(process)[0]
assert(mode, get_apparmor_status(pid))
assert_equal(mode, get_apparmor_status(pid))
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