summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2020-06-11 12:17:45 +0200
committerHans Nilsson <hans@erlang.org>2020-06-16 11:44:25 +0200
commit560fc726d6079b64a8d27e10d2466a187bccf3e4 (patch)
tree863d4771da833c905b8371c5bb0268ef0c5c4b11
parent79e7c12dfccbeb64727ee389c45f7061cfac018d (diff)
downloaderlang-560fc726d6079b64a8d27e10d2466a187bccf3e4.tar.gz
ssh: ct:pal -> ct:log
-rw-r--r--lib/ssh/test/ssh_test_lib.hrl2
-rw-r--r--lib/ssh/test/ssh_to_openssh_SUITE.erl4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssh/test/ssh_test_lib.hrl b/lib/ssh/test/ssh_test_lib.hrl
index 098ee79044..0e36793955 100644
--- a/lib/ssh/test/ssh_test_lib.hrl
+++ b/lib/ssh/test/ssh_test_lib.hrl
@@ -29,7 +29,7 @@
case FunctionCall of
Pattern when Guard -> Bind;
_ when N>0 ->
- ct:pal("Must sleep ~p ms at ~p:~p",[Timeout,?MODULE,?LINE]),
+ ct:log("Must sleep ~p ms at ~p:~p",[Timeout,?MODULE,?LINE]),
timer:sleep(Timeout),
F1(N-1, F1);
Other ->
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl
index 426efbb5e3..14abd503d8 100644
--- a/lib/ssh/test/ssh_to_openssh_SUITE.erl
+++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl
@@ -168,7 +168,7 @@ exec_with_io_in_sshc(Config) when is_list(Config) ->
" -x" % Disable X forwarding
],
ExecStr),
- ct:pal("Cmd = ~p~n",[Cmd]),
+ ct:log("Cmd = ~p~n",[Cmd]),
case os:cmd(Cmd) of
"% {ok,howdy}" -> ok;
"{ok,howdy}% " -> ok; % Could happen if the client sends the piped
@@ -201,7 +201,7 @@ exec_direct_with_io_in_sshc(Config) when is_list(Config) ->
" -x" % Disable X forwarding
],
"'? '"),
- ct:pal("Cmd = ~p~n",[Cmd]),
+ ct:log("Cmd = ~p~n",[Cmd]),
case os:cmd(Cmd) of
"? {ciao,\"oaic\"}" -> ok;
"'? '{ciao,\"oaic\"}" -> ok; % WSL