diff options
author | Siri Hansen <[email protected]> | 2018-04-24 15:18:31 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-04-26 14:37:31 +0200 |
commit | 291cf6d8530f4e0ad2f22f199b5ae6975135bbb3 (patch) | |
tree | db38f4923022a0a58a6f08af7efe7ec97ba748d6 /lib/kernel/test/application_SUITE.erl | |
parent | d22fa5406d1b974f1a0c25f580e83093bf84b02b (diff) | |
download | otp-291cf6d8530f4e0ad2f22f199b5ae6975135bbb3.tar.gz otp-291cf6d8530f4e0ad2f22f199b5ae6975135bbb3.tar.bz2 otp-291cf6d8530f4e0ad2f22f199b5ae6975135bbb3.zip |
Test cuddle for logger
Diffstat (limited to 'lib/kernel/test/application_SUITE.erl')
-rw-r--r-- | lib/kernel/test/application_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/test/application_SUITE.erl b/lib/kernel/test/application_SUITE.erl index 866043cfb4..c00fb44c46 100644 --- a/lib/kernel/test/application_SUITE.erl +++ b/lib/kernel/test/application_SUITE.erl @@ -1568,7 +1568,8 @@ loop5606(Pid) -> %% Tests get_env/* functions. get_env(Conf) when is_list(Conf) -> - {ok, _} = application:get_env(kernel, error_logger), + ok = application:set_env(kernel, new_var, new_val), + {ok, new_val} = application:get_env(kernel, new_var), undefined = application:get_env(undefined_app, a), undefined = application:get_env(kernel, error_logger_xyz), default = application:get_env(kernel, error_logger_xyz, default), |