Skip to content

Commit

Permalink
Fix test vars for 4.14 series
Browse files Browse the repository at this point in the history
- localname is now <version>-grsec-securedrop
- linux-firmware-image is no longer necessary, it is included in linux-image
  • Loading branch information
emkll committed Nov 12, 2019
1 parent 1b9f81d commit 5747bc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions molecule/testinfra/staging/common/test_grsecurity.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def test_ssh_motd_disabled(host):


@pytest.mark.parametrize("package", [
'linux-firmware-image-{}-grsec'.format(KERNEL_VERSION),
'linux-image-{}-grsec'.format(KERNEL_VERSION),
'paxctl',
'securedrop-grsec',
Expand Down Expand Up @@ -187,7 +186,7 @@ def test_wireless_disabled_in_kernel_config(host, kernel_opts):
disabled in the running kernel config!
"""

kernel_config_path = "/boot/config-{}-grsec".format(KERNEL_VERSION)
kernel_config_path = "/boot/config-{}-grsec-securedrop".format(KERNEL_VERSION)
kernel_config = host.file(kernel_config_path).content_string

line = "# CONFIG_{} is not set".format(kernel_opts)
Expand Down

0 comments on commit 5747bc9

Please sign in to comment.