=== source code for shell_SUITE:otp_10302/1
=== Test case started with:
shell_SUITE:otp_10302([{watchdog,<0.7705.6>},
{tc_logfile,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_17.38.00/tests.stdlib_test.logs/run.2014-01-03_17.51.25/shell_suite.otp_10302.html"},
{tc_group_properties,[{name,tickets}]},
{tc_group_path,[]},
{data_dir,"/home/pi/R16B03/otp-support/release/tests/stdlib_test/shell_SUITE_data/"},
{priv_dir,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_17.38.00/tests.stdlib_test.logs/run.2014-01-03_17.51.25/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_17.38.00"
=== Started at 2014-01-03 20:21:16
Attempt to start slave node shell_suite_helper_2 with options [{args,
" -pa /home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_17.38.00/tests.stdlib_test.logs/run.2014-01-03_17.51.25/log_private/ +pc unicode"}]
Successfully started node shell_suite_helper_2@localhost on "localhost" with command: "erl -pa \"/usr/lib/erlang/lib/test_server-3.6.4/ebin\" -pa /home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_17.38.00/tests.stdlib_test.logs/run.2014-01-03_17.51.25/log_private/ +pc unicode -env ERL_CRASH_DUMP \"/usr/lib/erlang/lib/test_server-3.6.4/ebin/erl_crash_dump.shell_suite_helper_2\" "
*** Testing begin
io:setopts([{encoding,utf8}]),
[1024] = "\x{400}",
rd(rec, {a = "\x{400}"}),
ok = rl(rec)
end.
*** Testing io:setopts([{encoding,utf8}]).
rd(rec, {a = "\x{400}"}).
ok = rp(#rec{}).
*** Testing io:setopts([{encoding,utf8}]).
A = [1024] = "\x{400}".
b().
h().
*** Testing begin
io:setopts([{encoding,utf8}]),
results(0),
A = [1024] = "\x{400}",
b(),
h()
end.
*** Testing io:setopts([{encoding,utf8}]). v("Ð").
*** Testing io:setopts([{encoding,utf8}]). shell:prompt_func("Ð").
*** Testing begin
A = <<"\xaa">>,
S = lists:flatten(io_lib:format("~p/~p.", [A, A])),
{ok, Ts, _} = erl_scan:string(S, 1, [unicode]),
{ok, Es} = erl_parse:parse_exprs(Ts),
B = erl_eval:new_bindings(),
erl_eval:exprs(Es, B)
end.
*** Testing io:setopts([{encoding,utf8}]).
A = <<"\xaa">>,
S = lists:flatten(io_lib:format("~p/~p.", [A, A])),
{ok, Ts, _} = erl_scan:string(S, 1, [unicode]),
{ok, Es} = erl_parse:parse_exprs(Ts),
B = erl_eval:new_bindings(),
erl_eval:exprs(Es, B).
*** Testing begin
A = [1089],
S = lists:flatten(io_lib:format("~tp/~tp.", [A, A])),
{ok, Ts, _} = erl_scan:string(S, 1, [unicode]),
{ok, Es} = erl_parse:parse_exprs(Ts),
B = erl_eval:new_bindings(),
erl_eval:exprs(Es, B)
end.
*** Testing io:setopts([{encoding,utf8}]).
A = [1089],
S = lists:flatten(io_lib:format("~tp/~tp.", [A, A])),
{ok, Ts, _} = erl_scan:string(S, 1, [unicode]),
{ok, Es} = erl_parse:parse_exprs(Ts),
B = erl_eval:new_bindings(),
erl_eval:exprs(Es, B).
*** Testing A = {"1\xaa",
$\xaa,
<< <<"hi">>/binary >>,
<<"1ª">>},
fun(a) -> true end(A).
*** Testing io:setopts([{encoding,utf8}]).
A = {"1\xaa",
$\xaa,
<< <<"hi">>/binary >>,
<<"1ª">>},
fun(a) -> true end(A).
*** Testing fun(a, b) -> false end(65, [1089]).
*** Testing io:setopts([{encoding,utf8}]).
fun(a, b) -> false end(65, [1089]).
Stopped slave node: shell_suite_helper_2@localhost
=== Ended at 2014-01-03 20:21:19
=== successfully completed test case
=== returned value = ok
Test run history
| Top level test index