aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server_gl.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-04-05 09:27:53 +0200
committerSiri Hansen <[email protected]>2013-04-08 11:39:08 +0200
commit516948f172067d1afe34adbaf866bc7488f8bedf (patch)
tree5616f59ce657fffc8890f170a9ee21e4543077d6 /lib/test_server/src/test_server_gl.erl
parent36dc385f283a3566fdc4a67c63299837e8c90f7a (diff)
downloadotp-516948f172067d1afe34adbaf866bc7488f8bedf.tar.gz
otp-516948f172067d1afe34adbaf866bc7488f8bedf.tar.bz2
otp-516948f172067d1afe34adbaf866bc7488f8bedf.zip
[test_server] Add test_server_io:print_unexpected/1
To use from any process to print a string in the unexpected_io.log.
Diffstat (limited to 'lib/test_server/src/test_server_gl.erl')
-rw-r--r--lib/test_server/src/test_server_gl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/src/test_server_gl.erl b/lib/test_server/src/test_server_gl.erl
index 2e4f223811..1f7317c51d 100644
--- a/lib/test_server/src/test_server_gl.erl
+++ b/lib/test_server/src/test_server_gl.erl
@@ -166,7 +166,7 @@ handle_info({'DOWN',Ref,process,_,Reason}=D, #st{minor_monitor=Ref}=St) ->
Data = io_lib:format("=== WARNING === TC: ~w\n"
"Got down from minor Fd ~w: ~w\n\n",
[St#st.tc,St#st.minor,D]),
- test_server_io:print(xxxFrom, unexpected_io, Data)
+ test_server_io:print_unexpected(Data)
end,
{noreply,St#st{minor=none,minor_monitor=none}};
handle_info({permit_io,Pid}, #st{permit_io=P}=St) ->