aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2017-02-14 14:23:15 +0100
committerSverker Eriksson <sverker@erlang.org>2017-02-20 20:06:36 +0100
commit839ad04bbacb329c89568371bbf5a28d4b2bba25 (patch)
tree879f3b0b4a19e31e6454a319b71975bed0613bb5 /erts/emulator/test
parentb0f0c476dc6738ddebc6d1f189a4d5c4f8ecf8de (diff)
downloadotp-839ad04bbacb329c89568371bbf5a28d4b2bba25.tar.gz
otp-839ad04bbacb329c89568371bbf5a28d4b2bba25.tar.bz2
otp-839ad04bbacb329c89568371bbf5a28d4b2bba25.zip
Fix whitebox monitor tests
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/erl_link_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/erl_link_SUITE.erl b/erts/emulator/test/erl_link_SUITE.erl
index 89e1aefb50..9258897764 100644
--- a/erts/emulator/test/erl_link_SUITE.erl
+++ b/erts/emulator/test/erl_link_SUITE.erl
@@ -60,7 +60,7 @@
% These are to be kept in sync with erl_monitors.h
-define(MON_ORIGIN, 1).
--define(MON_TARGET, 3).
+-define(MON_TARGET, 2).
-record(erl_link, {type = ?LINK_UNDEF,
@@ -69,7 +69,7 @@
% This is to be kept in sync with erl_bif_info.c (make_monitor_list)
--record(erl_monitor, {type, % MON_ORIGIN or MON_TARGET (1 or 3)
+-record(erl_monitor, {type, % MON_ORIGIN or MON_TARGET
ref,
pid, % Process or nodename
name = []}). % registered name or []