From f2b1a0749f293f12b3be7d573b4fa8dbfcfdb932 Mon Sep 17 00:00:00 2001
From: Thomas Lachmann
Date: Wed, 18 Aug 2010 18:45:41 +0200
Subject: Change packet_line_decode/1 to not only check binary mode
---
lib/ssl/test/ssl_packet_SUITE.erl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'lib/ssl')
diff --git a/lib/ssl/test/ssl_packet_SUITE.erl b/lib/ssl/test/ssl_packet_SUITE.erl
index fac84a85cd..8e14d2d0c8 100644
--- a/lib/ssl/test/ssl_packet_SUITE.erl
+++ b/lib/ssl/test/ssl_packet_SUITE.erl
@@ -1724,7 +1724,7 @@ packet_line_decode(Config) when is_list(Config) ->
[Data]}},
{options, [{active, true},
{packet, line},
- binary | ClientOpts]}]),
+ list | ClientOpts]}]),
ssl_test_lib:check_result(Server, ok, Client, ok),
@@ -1748,11 +1748,11 @@ client_line_packet_decode(Socket, Lines) ->
ok = ssl:send(Socket, P1),
ok = ssl:send(Socket, P2),
receive
- {ssl, Socket, <<"Line ends here.\n">>} -> ok;
+ {ssl, Socket, "Line ends here.\n"} -> ok;
Other1 -> exit({?LINE, Other1})
end,
receive
- {ssl, Socket, <<"Now it is a new line.\n">>} -> ok;
+ {ssl, Socket, "Now it is a new line.\n"} -> ok;
Other2 -> exit({?LINE, Other2})
end.
--
cgit v1.2.3