Skip to content

Commit 2de4db3

Browse files
author
Patrick Meier
committed
FIX: reqular expression in PATH variable
Signed-off-by: Patrick Meier <patrick.meier111@googlemail.com>
1 parent 998370b commit 2de4db3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

default/serverspec/sysctl_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@
235235

236236
# GIS: Req 3.21-8
237237
describe file('/etc/login.defs') do
238-
its(:content) { should match(%r{/^ENV_SUPATH\s+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin/}) }
238+
its(:content) { should match(%r{^ENV_SUPATH\s+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin}) }
239239
end
240240

241241
# GIS: Req 3.21-8
242242
describe file('/etc/login.defs') do
243-
its(:content) { should match(%r{/^ENV_PATH\s+PATH=/usr/local/bin:/usr/bin:/bin/}) }
243+
its(:content) { should match(%r{^ENV_PATH\s+PATH=/usr/local/bin:/usr/bin:/bin}) }
244244
end
245245

246246
# GIS: Req 3.21-10

0 commit comments

Comments
 (0)