diff options
author | Hans Nilsson <[email protected]> | 2016-02-09 13:53:23 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-02-22 11:55:58 +0100 |
commit | 0ff06d3941ce4487f18f11dde66dd6c28068e833 (patch) | |
tree | 5d1ddcb63840c09a1f048800da56bb325516198b /lib/ssh/test/ssh_algorithms_SUITE.erl | |
parent | 521ed78a48b0e9b9561fc7e5697ce926ce0498c0 (diff) | |
download | otp-0ff06d3941ce4487f18f11dde66dd6c28068e833.tar.gz otp-0ff06d3941ce4487f18f11dde66dd6c28068e833.tar.bz2 otp-0ff06d3941ce4487f18f11dde66dd6c28068e833.zip |
ssh: remove some spurions test printouts
Diffstat (limited to 'lib/ssh/test/ssh_algorithms_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_algorithms_SUITE.erl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl index f0ac92fef6..a0f1edd5fb 100644 --- a/lib/ssh/test/ssh_algorithms_SUITE.erl +++ b/lib/ssh/test/ssh_algorithms_SUITE.erl @@ -231,8 +231,11 @@ sshc_simple_exec(Config) -> " ",Host," 1+1."]), ct:log("~p",[Cmd]), SshPort = open_port({spawn, Cmd}, [binary]), + Expect = <<"2\n">>, receive - {SshPort,{data, <<"2\n">>}} -> + {SshPort, {data,Expect}} -> + ct:log("Got expected ~p from ~p",[Expect,SshPort]), + port_close(SshPort), ok after ?TIMEOUT -> ct:fail("Did not receive answer") @@ -273,7 +276,9 @@ sshd_simple_exec(_Config) -> ConnectionRef, ChannelId1); Other1 -> ct:fail(Other1) - end. + end, + ssh:close(ConnectionRef). + %%%================================================================ %%% |