We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0288a26 commit 990629fCopy full SHA for 990629f
regress/cfgmatch.sh
@@ -175,6 +175,9 @@ EOD
175
trace "test spec $spec"
176
result=`${SUDO} ${SSHD} -f $OBJ/sshd_config -T -C "$spec" | \
177
awk '$1=="banner"{print $2}'`
178
+ if [ "$os" == "windows" ]; then
179
+ result=${result/$'\r'/} # remove CR (carriage return)
180
+ fi
181
if [ "$result" != "$expected" ]; then
182
fail "match $config expected $expected got $result"
183
fi
0 commit comments