summaryrefslogtreecommitdiff
path: root/lib/kernel/test/erl_distribution_SUITE.erl
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2022-04-22 18:42:00 +0200
committerRickard Green <rickard@erlang.org>2022-05-25 20:40:23 +0200
commit1d0fe6f71c320d2d1d19d9efd6dcba7b18bedca6 (patch)
tree379703319b813cd357121f8a049a6a10af6e0671 /lib/kernel/test/erl_distribution_SUITE.erl
parentb849e120e29c12183cf80c37fab628240bd456e7 (diff)
downloaderlang-1d0fe6f71c320d2d1d19d9efd6dcba7b18bedca6.tar.gz
[kernel] Introduce connect_all kernel parameter
Also fix the '-connect_all' command line argument.
Diffstat (limited to 'lib/kernel/test/erl_distribution_SUITE.erl')
-rw-r--r--lib/kernel/test/erl_distribution_SUITE.erl10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/kernel/test/erl_distribution_SUITE.erl b/lib/kernel/test/erl_distribution_SUITE.erl
index 7d7108e44b..a22635dd68 100644
--- a/lib/kernel/test/erl_distribution_SUITE.erl
+++ b/lib/kernel/test/erl_distribution_SUITE.erl
@@ -771,8 +771,14 @@ run_tick_change_test(DCfg, B, C, PrevTT, TT) ->
hidden_node(Config) when is_list(Config) ->
run_dist_configs(fun hidden_node/2, Config).
-hidden_node(DCfg, _Config) ->
- HArgs = "-hidden",
+hidden_node(DCfg, Config) ->
+ hidden_node(DCfg, "-hidden", Config),
+ hidden_node(DCfg, "-hidden -hidden", Config),
+ hidden_node(DCfg, "-hidden true -hidden true", Config),
+ ok.
+
+hidden_node(DCfg, HArgs, _Config) ->
+ ct:pal("--- Hidden argument(s): ~s~n", [HArgs]),
{ok, V} = start_node(DCfg, visible_node),
VMN = start_monitor_nodes_proc(V),
{ok, H} = start_node(DCfg, hidden_node, HArgs),