aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_telnet_client.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-11 09:41:11 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:54 +0100
commita219c06f31e082449a1e001c051661370fa00a5d (patch)
tree0b99ba0aabbee1d970ffe48b7fe599b536382d1e /lib/common_test/src/ct_telnet_client.erl
parentd2c19c15b887d44b92fa36c5f49d7f2ff755f8ad (diff)
downloadotp-a219c06f31e082449a1e001c051661370fa00a5d.tar.gz
otp-a219c06f31e082449a1e001c051661370fa00a5d.tar.bz2
otp-a219c06f31e082449a1e001c051661370fa00a5d.zip
Replace all calls to now/0 in CT with new time API functions
Diffstat (limited to 'lib/common_test/src/ct_telnet_client.erl')
-rw-r--r--lib/common_test/src/ct_telnet_client.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_telnet_client.erl b/lib/common_test/src/ct_telnet_client.erl
index 36d33522a3..f39863824c 100644
--- a/lib/common_test/src/ct_telnet_client.erl
+++ b/lib/common_test/src/ct_telnet_client.erl
@@ -391,7 +391,7 @@ cmd_dbg(Prefix,Cmd) ->
end.
timestamp() ->
- {MS,S,US} = now(),
+ {MS,S,US} = os:timestamp(),
{{Year,Month,Day}, {Hour,Min,Sec}} =
calendar:now_to_local_time({MS,S,US}),
MilliSec = trunc(US/1000),