mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 22:33:51 -07:00
Merge 067ef85314
into b1486ec1e9
This commit is contained in:
commit
45f48192c6
1 changed files with 1 additions and 0 deletions
|
@ -462,6 +462,7 @@ checkInteractiveSu = CommandCheck (Basename "su") f
|
||||||
prop_checkSshCmdStr1 = verify checkSshCommandString "ssh host \"echo $PS1\""
|
prop_checkSshCmdStr1 = verify checkSshCommandString "ssh host \"echo $PS1\""
|
||||||
prop_checkSshCmdStr2 = verifyNot checkSshCommandString "ssh host \"ls foo\""
|
prop_checkSshCmdStr2 = verifyNot checkSshCommandString "ssh host \"ls foo\""
|
||||||
prop_checkSshCmdStr3 = verifyNot checkSshCommandString "ssh \"$host\""
|
prop_checkSshCmdStr3 = verifyNot checkSshCommandString "ssh \"$host\""
|
||||||
|
prop_checkSshCmdStr4 = verifyNot checkSshCommandString "ssh -o TCPKeepAlive=no \"$host\""
|
||||||
checkSshCommandString = CommandCheck (Basename "ssh") (f . arguments)
|
checkSshCommandString = CommandCheck (Basename "ssh") (f . arguments)
|
||||||
where
|
where
|
||||||
nonOptions =
|
nonOptions =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue