aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-03-21 22:32:05 +0100
committerSverker Eriksson <[email protected]>2019-03-22 19:40:06 +0100
commit78ea501bcc84bd8bd49da97e514c1c3b20682d86 (patch)
treeb1e4d6533a483848f1a4ffc16cd17def15013878 /lib/erl_interface/test
parent0b74eec2a1fd5716ba6e21d8c6715433d8d34510 (diff)
downloadotp-78ea501bcc84bd8bd49da97e514c1c3b20682d86.tar.gz
otp-78ea501bcc84bd8bd49da97e514c1c3b20682d86.tar.bz2
otp-78ea501bcc84bd8bd49da97e514c1c3b20682d86.zip
erl_interface: Remove old encoding of pid,port,refs
with tiny creation.
Diffstat (limited to 'lib/erl_interface/test')
-rw-r--r--lib/erl_interface/test/erl_eterm_SUITE.erl10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/erl_interface/test/erl_eterm_SUITE.erl b/lib/erl_interface/test/erl_eterm_SUITE.erl
index 77910a9fc7..4605293c74 100644
--- a/lib/erl_interface/test/erl_eterm_SUITE.erl
+++ b/lib/erl_interface/test/erl_eterm_SUITE.erl
@@ -73,6 +73,10 @@
-import(runner, [get_term/1]).
+-define(REFERENCE_EXT, $e).
+-define(NEW_REFERENCE_EXT, $r).
+-define(NEWER_REFERENCE_EXT, $Z).
+
%% This test suite controls the running of the C language functions
%% in eterm_test.c and print_term.c.
@@ -1026,9 +1030,11 @@ cnode_1(Config) when is_list(Config) ->
check_ref(Ref) ->
case bin_ext_type(Ref) of
- 101 ->
+ ?REFERENCE_EXT ->
ct:fail(oldref);
- 114 ->
+ ?NEW_REFERENCE_EXT ->
+ ok;
+ ?NEWER_REFERENCE_EXT ->
ok;
Type ->
ct:fail({type, Type})