mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-26 13:00:21 +00:00
FIX: reqular expression in PATH variable
Signed-off-by: Patrick Meier <patrick.meier111@googlemail.com>
This commit is contained in:
parent
998370b205
commit
2de4db352a
1 changed files with 2 additions and 2 deletions
|
@ -235,12 +235,12 @@ end
|
|||
|
||||
# GIS: Req 3.21-8
|
||||
describe file('/etc/login.defs') do
|
||||
its(:content) { should match(%r{/^ENV_SUPATH\s+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin/}) }
|
||||
its(:content) { should match(%r{^ENV_SUPATH\s+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin}) }
|
||||
end
|
||||
|
||||
# GIS: Req 3.21-8
|
||||
describe file('/etc/login.defs') do
|
||||
its(:content) { should match(%r{/^ENV_PATH\s+PATH=/usr/local/bin:/usr/bin:/bin/}) }
|
||||
its(:content) { should match(%r{^ENV_PATH\s+PATH=/usr/local/bin:/usr/bin:/bin}) }
|
||||
end
|
||||
|
||||
# GIS: Req 3.21-10
|
||||
|
|
Loading…
Reference in a new issue