Skip to content

Commit b1c61d6

Browse files
variable interpolation
1 parent 1081581 commit b1c61d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controls/sshd_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
impact 1.0
484484
title 'Server: DH primes'
485485
desc 'Verifies if strong DH primes are used in /etc/ssh/moduli'
486-
describe bash("test $(awk '$5 < 2047 && $5 ~ /^[0-9]+$/ { print $5 }' " + sshd_custom_path + "/moduli | uniq | wc -c) -eq 0") do
486+
describe bash("test $(awk '$5 < 2047 && $5 ~ /^[0-9]+$/ { print $5 }' #{sshd_custom_path}/moduli | uniq | wc -c) -eq 0") do
487487
its('exit_status') { should eq 0 }
488488
its('stdout') { should eq '' }
489489
its('stderr') { should eq '' }

0 commit comments

Comments
 (0)