Skip to content

Commit

Permalink
Fix test for Focal kernel version
Browse files Browse the repository at this point in the history
  • Loading branch information
emkll authored and kushaldas committed Feb 5, 2021
1 parent 2f5af57 commit c7d30df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion molecule/testinfra/common/test_grsecurity.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import testutils

sdvars = testutils.securedrop_test_vars
KERNEL_VERSION = sdvars.grsec_version
if host.system_info.codename == "xenial":
KERNEL_VERSION = sdvars.grsec_version_xenial
else:
KERNEL_VERSION = sdvars.grsec_version_focal
testinfra_hosts = [sdvars.app_hostname, sdvars.monitor_hostname]


Expand Down
3 changes: 2 additions & 1 deletion molecule/testinfra/vars/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,5 @@ log_events_with_ossec_alerts:
rule_id: "400700"

fpf_apt_repo_url: "https://apt-test.freedom.press"
grsec_version: "4.14.188"
grsec_version_xenial: "4.14.188"
grsec_version_focal: "5.4.88"

0 comments on commit c7d30df

Please sign in to comment.