aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorEiichi Tsukata <[email protected]>2014-04-23 21:46:21 +0900
committerEiichi Tsukata <[email protected]>2014-04-28 14:57:43 +0900
commite492b43c3e4366e865e5f1c34d0834df2a91d490 (patch)
treea362d082e4f037d7c49f93e40363d31e821cab4f /erts/emulator/test
parent07b8f441ca711f9812fad9e9115bab3c3aa92f79 (diff)
downloadotp-e492b43c3e4366e865e5f1c34d0834df2a91d490.tar.gz
otp-e492b43c3e4366e865e5f1c34d0834df2a91d490.tar.bz2
otp-e492b43c3e4366e865e5f1c34d0834df2a91d490.zip
Add erlang:system_info(tolerant_timeofday)
Add erlang:system_info(tolerant_timeofday), an API to check whether compensation for sudden changes of system time is enabled or not.
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/system_info_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/test/system_info_SUITE.erl b/erts/emulator/test/system_info_SUITE.erl
index ceb4afb5cf..f959714be7 100644
--- a/erts/emulator/test/system_info_SUITE.erl
+++ b/erts/emulator/test/system_info_SUITE.erl
@@ -155,6 +155,7 @@ misc_smoke_tests(Config) when is_list(Config) ->
?line true = is_binary(erlang:system_info(loaded)),
?line true = is_binary(erlang:system_info(dist)),
?line ok = try erlang:system_info({cpu_topology,erts_get_cpu_topology_error_case}), fail catch error:badarg -> ok end,
+ true = lists:member(erlang:system_info(tolerant_timeofday), [enabled, disabled]),
?line ok.