aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-03-29 01:29:07 +0100
committerRickard Green <[email protected]>2015-05-06 15:58:32 +0200
commite135070d4c7135228756e6a43dbdd638b565a499 (patch)
treea92e332e46d510a8226a0c23a57f86367b31dfe2 /erts/test
parentedce22eb43c40359ccbd0924412cf13692744779 (diff)
downloadotp-e135070d4c7135228756e6a43dbdd638b565a499.tar.gz
otp-e135070d4c7135228756e6a43dbdd638b565a499.tar.bz2
otp-e135070d4c7135228756e6a43dbdd638b565a499.zip
Replace erlang:now() usage in system suite
Diffstat (limited to 'erts/test')
-rw-r--r--erts/test/erlexec_SUITE.erl7
1 files changed, 2 insertions, 5 deletions
diff --git a/erts/test/erlexec_SUITE.erl b/erts/test/erlexec_SUITE.erl
index f5ea8f160a..07966192c5 100644
--- a/erts/test/erlexec_SUITE.erl
+++ b/erts/test/erlexec_SUITE.erl
@@ -462,13 +462,10 @@ split_emu_clt([A|As], Emu, Misc, Extra, extra = Type) ->
get_nodename(T) ->
- {A, B, C} = now(),
atom_to_list(T)
++ "-"
++ atom_to_list(?MODULE)
++ "-"
- ++ integer_to_list(A)
+ ++ integer_to_list(erlang:system_time(seconds))
++ "-"
- ++ integer_to_list(B)
- ++ "-"
- ++ integer_to_list(C).
+ ++ integer_to_list(erlang:unique_integer([positive])).