aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-12-11 11:54:20 +0100
committerHans Nilsson <[email protected]>2015-12-18 12:18:52 +0100
commit78a2b1f8dbba3227dc56e86a7df1231c04f5735d (patch)
tree13320e90cdbe2bde02308d293c87ee73f7c8e6b5 /lib/ssh/test
parent82a835d94be7ee5e98d101a29999fedaf6cd75fe (diff)
downloadotp-78a2b1f8dbba3227dc56e86a7df1231c04f5735d.tar.gz
otp-78a2b1f8dbba3227dc56e86a7df1231c04f5735d.tar.bz2
otp-78a2b1f8dbba3227dc56e86a7df1231c04f5735d.zip
ssh: fix the check that open-ssh supports certain pubkeys in a test suite
Diffstat (limited to 'lib/ssh/test')
-rw-r--r--lib/ssh/test/ssh_to_openssh_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl
index 02cc79e4d5..67a61d3c11 100644
--- a/lib/ssh/test/ssh_to_openssh_SUITE.erl
+++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl
@@ -110,9 +110,9 @@ end_per_testcase(_TestCase, _Config) ->
chk_key(Pgm, Name, File, Config) ->
case ssh_test_lib:openssh_supports(Pgm, public_key, Name) of
- true ->
- {skip,lists:concat(["openssh client does not support ",Name])};
false ->
+ {skip,lists:concat(["openssh client does not support ",Name])};
+ true ->
{ok,[[Home]]} = init:get_argument(home),
KeyFile = filename:join(Home, File),
case file:read_file(KeyFile) of