aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/bif_SUITE.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-08-23 12:29:50 +0200
committerSverker Eriksson <[email protected]>2017-08-23 12:29:50 +0200
commit7c9ea890cd2530bffeafa82abeeee876fd24a6ba (patch)
tree839aec8b295d6e06361a79b3171fed906f94339b /erts/emulator/test/bif_SUITE.erl
parentf0715ae80670b12f4120f2b9d3b7bd51be690ea8 (diff)
downloadotp-7c9ea890cd2530bffeafa82abeeee876fd24a6ba.tar.gz
otp-7c9ea890cd2530bffeafa82abeeee876fd24a6ba.tar.bz2
otp-7c9ea890cd2530bffeafa82abeeee876fd24a6ba.zip
erts: Allow any unicode string as crash dump slogan
i.e the first argument to erlang:halt
Diffstat (limited to 'erts/emulator/test/bif_SUITE.erl')
-rw-r--r--erts/emulator/test/bif_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/test/bif_SUITE.erl b/erts/emulator/test/bif_SUITE.erl
index 339c827602..4908ac410c 100644
--- a/erts/emulator/test/bif_SUITE.erl
+++ b/erts/emulator/test/bif_SUITE.erl
@@ -691,6 +691,9 @@ erlang_halt(Config) when is_list(Config) ->
{badrpc,nodedown} = rpc:call(N3, erlang, halt, [0,[]]),
{ok,N4} = slave:start(H, halt_node4),
{badrpc,nodedown} = rpc:call(N4, erlang, halt, [lists:duplicate(300,$x)]),
+ %% Test unicode slogan
+ {ok,N4} = slave:start(H, halt_node4),
+ {badrpc,nodedown} = rpc:call(N4, erlang, halt, [[339,338,254,230,198,295,167,223,32,12507,12531,12480]]),
% This test triggers a segfault when dumping a crash dump
% to make sure that we can handle it properly.