aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_master_SUITE.erl
diff options
context:
space:
mode:
authorAndrey Pampukha <[email protected]>2010-04-19 17:28:07 +0200
committerRaimo Niskanen <[email protected]>2010-06-09 16:19:18 +0200
commit1327bd8956b2d0f6b5a9201ce9ecf361f94733aa (patch)
tree9fa7463d786cfab1c12343e8b5fac829e7e1e0c1 /lib/common_test/test/ct_master_SUITE.erl
parentebcab814cabc74407f48aba1b41327df80586fcd (diff)
downloadotp-1327bd8956b2d0f6b5a9201ce9ecf361f94733aa.tar.gz
otp-1327bd8956b2d0f6b5a9201ce9ecf361f94733aa.tar.bz2
otp-1327bd8956b2d0f6b5a9201ce9ecf361f94733aa.zip
Move 'node_start' and 'eval' terms into new 'init' term
node_start+eval -> init(node_start, eval) Also include some documentation updates.
Diffstat (limited to 'lib/common_test/test/ct_master_SUITE.erl')
-rw-r--r--lib/common_test/test/ct_master_SUITE.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/common_test/test/ct_master_SUITE.erl b/lib/common_test/test/ct_master_SUITE.erl
index 0f0d13f683..2d4a29cde1 100644
--- a/lib/common_test/test/ct_master_SUITE.erl
+++ b/lib/common_test/test/ct_master_SUITE.erl
@@ -99,8 +99,11 @@ make_spec(DataDir, FileName, NodeNames, Suites, Config)->
NodeNames),
NS = lists:map(fun(NodeName)->
- {node_start, NodeName, [{startup_functions, [{io, format, ["hello, world~n"]}]},
- {monitor_master, true}]}
+ {init, NodeName, [
+ {node_start, [{startup_functions, []}, {monitor_master, false}]},
+ {eval, {erlang, nodes, []}}
+ ]
+ }
end,
NodeNames),