diff options
author | Sverker Eriksson <[email protected]> | 2019-03-21 22:32:05 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-03-22 19:40:06 +0100 |
commit | 78ea501bcc84bd8bd49da97e514c1c3b20682d86 (patch) | |
tree | b1e4d6533a483848f1a4ffc16cd17def15013878 /lib/erl_interface/test | |
parent | 0b74eec2a1fd5716ba6e21d8c6715433d8d34510 (diff) | |
download | otp-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.erl | 10 |
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}) |