diff options
author | Björn Gustavsson <[email protected]> | 2016-03-09 06:34:35 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-10 15:11:00 +0100 |
commit | 3dfdf35c65b8985a3abe21ef83f27cc8e82ba11c (patch) | |
tree | 2cf538c8009b53cbbd74eb8be9546d90fbe9f730 /lib/kernel/test/gen_udp_SUITE.erl | |
parent | 729f4375d2c1985825c1d51705aad77616d3d66b (diff) | |
download | otp-3dfdf35c65b8985a3abe21ef83f27cc8e82ba11c.tar.gz otp-3dfdf35c65b8985a3abe21ef83f27cc8e82ba11c.tar.bz2 otp-3dfdf35c65b8985a3abe21ef83f27cc8e82ba11c.zip |
Fix comments
Remove out-commented code. Make sure that comments that are not
at the end of a line starts with two '%' characters and not just
one. That will become important later when we'll remove all
?line macros and ask Emacs to re-indent the files.
Diffstat (limited to 'lib/kernel/test/gen_udp_SUITE.erl')
-rw-r--r-- | lib/kernel/test/gen_udp_SUITE.erl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/kernel/test/gen_udp_SUITE.erl b/lib/kernel/test/gen_udp_SUITE.erl index 3eb0c90e3e..f7e9e69e48 100644 --- a/lib/kernel/test/gen_udp_SUITE.erl +++ b/lib/kernel/test/gen_udp_SUITE.erl @@ -17,15 +17,16 @@ %% %% %CopyrightEnd% %% -% -% test the behavior of gen_udp. Testing udp is really a very unfunny task, -% because udp is not deterministic. -% + +%% +%% Test the behavior of gen_udp. Testing udp is really a very unfunny task, +%% because udp is not deterministic. +%% -module(gen_udp_SUITE). -include_lib("common_test/include/ct.hrl"). -% XXX - we should pick a port that we _know_ is closed. That's pretty hard. +%% XXX - we should pick a port that we _know_ is closed. That's pretty hard. -define(CLOSED_PORT, 6666). -export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, @@ -550,9 +551,10 @@ active_n(Config) when is_list(Config) -> ok = gen_udp:close(S1), ok. -% -% Utils -% +%% +%% Utils +%% + start_node(Name) -> Pa = filename:dirname(code:which(?MODULE)), test_server:start_node(Name, slave, [{args, "-pa " ++ Pa}]). |