summaryrefslogtreecommitdiff
path: root/test/test_config.rb
diff options
context:
space:
mode:
authorKasumi Hanazuki <kasumi@rollingapple.net>2017-04-26 20:53:23 +0900
committerKasumi Hanazuki <kasumi@rollingapple.net>2017-04-26 21:57:28 +0900
commit76cdd6d38d5b2c6bcfba527aad033e06f5c44118 (patch)
tree90994df9a76a8db45f74d430aa18f7b29aecefec /test/test_config.rb
parent90f2e11dd6e2d31da6da3d1f19ffd44430000c1d (diff)
downloadnet-ssh-76cdd6d38d5b2c6bcfba527aad033e06f5c44118.tar.gz
Support including multiple files by a single Include directive
ssh_config(5) from OpenSSH says an Include directive may take multiple pathnames. The pathnames are separated by whitespaces and may contain whitespaces when enclosed in double quotes.
Diffstat (limited to 'test/test_config.rb')
-rw-r--r--test/test_config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_config.rb b/test/test_config.rb
index a5c53a8..6a2056e 100644
--- a/test/test_config.rb
+++ b/test/test_config.rb
@@ -281,6 +281,7 @@ class TestConfig < NetSSHTest
assert_equal 'example.com', net_ssh[:host_name]
assert_equal 'foo', net_ssh[:user]
assert_equal 2345, net_ssh[:port]
+ assert_equal true, net_ssh[:compression]
assert net_ssh[:keys_only]
assert_equal %w(~/.ssh/id.pem), net_ssh[:keys]
end