aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/inet_res_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-12-10 14:57:40 +0100
committerBjörn Gustavsson <[email protected]>2015-12-11 14:37:46 +0100
commit51f1e296e7d8709df6324f78e365446a22201cf1 (patch)
tree6bb5df25db15b3e1665d745ab847fc4a74855255 /lib/kernel/test/inet_res_SUITE.erl
parentd8dab7ad987cb0d57bc2e4b2bbbec7ebe5ef2a04 (diff)
downloadotp-51f1e296e7d8709df6324f78e365446a22201cf1.tar.gz
otp-51f1e296e7d8709df6324f78e365446a22201cf1.tar.bz2
otp-51f1e296e7d8709df6324f78e365446a22201cf1.zip
kernel test: Replace 'random' with 'rand'
Diffstat (limited to 'lib/kernel/test/inet_res_SUITE.erl')
-rw-r--r--lib/kernel/test/inet_res_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/inet_res_SUITE.erl b/lib/kernel/test/inet_res_SUITE.erl
index ace4ccb8bd..6e575c2f95 100644
--- a/lib/kernel/test/inet_res_SUITE.erl
+++ b/lib/kernel/test/inet_res_SUITE.erl
@@ -120,7 +120,7 @@ ns_init(ZoneDir, PrivDir, DataDir) ->
{unix,_} ->
PortNum = case {os:type(),os:version()} of
{{unix,solaris},{M,V,_}} when M =< 5, V < 10 ->
- 11895 + random:uniform(100);
+ 11895 + rand:uniform(100);
_ ->
{ok,S} = gen_udp:open(0, [{reuseaddr,true}]),
{ok,PNum} = inet:port(S),