diff options
author | Sverker Eriksson <sverker@erlang.org> | 2021-10-26 20:22:38 +0200 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2021-11-04 13:15:30 +0100 |
commit | 82b98b430d61678876a53088bc253bb14d09bc9f (patch) | |
tree | 42db5eee4a6fa3e8ce712e26a151899ea3b6edf0 /erts/emulator/test/list_bif_SUITE.erl | |
parent | 50c1a7c89ed55dc6752816c4b3bc3cdbc3e31151 (diff) | |
download | erlang-82b98b430d61678876a53088bc253bb14d09bc9f.tar.gz |
erts: Remove creation 0 as wildcard
Diffstat (limited to 'erts/emulator/test/list_bif_SUITE.erl')
-rw-r--r-- | erts/emulator/test/list_bif_SUITE.erl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/erts/emulator/test/list_bif_SUITE.erl b/erts/emulator/test/list_bif_SUITE.erl index b398e22707..9f8ef4449b 100644 --- a/erts/emulator/test/list_bif_SUITE.erl +++ b/erts/emulator/test/list_bif_SUITE.erl @@ -175,25 +175,6 @@ t_list_to_ext_pidportref(Config) when is_list(Config) -> true = rpc:call(Node, erlang, '=:=', [Ref, Ref2]), true = rpc:call(Node, erlang, '==', [Ref, Ref2]), - %% Make sure no ugly comparison with 0-creation as wildcard is done. - Pid0 = make_0_creation(Pid), - Port0 = make_0_creation(Port), - Ref0 = make_0_creation(Ref), - false = (Pid =:= Pid0), - false = (Port =:= Port0), - false = (Ref =:= Ref0), - false = (Pid == Pid0), - false = (Port == Port0), - false = (Ref == Ref0), - - %% Check 0-creations are converted to local node creations - %% when sent to matching node name. - true = rpc:call(Node, erlang, '=:=', [Pid, Pid0]), - true = rpc:call(Node, erlang, '==', [Pid, Pid0]), - true = rpc:call(Node, erlang, '=:=', [Port, Port0]), - true = rpc:call(Node, erlang, '==', [Port, Port0]), - true = rpc:call(Node, erlang, '=:=', [Ref, Ref0]), - true = rpc:call(Node, erlang, '==', [Ref, Ref0]), slave:stop(Node), ok. |