diff options
author | Rickard Green <[email protected]> | 2014-03-13 03:47:28 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-03-20 16:24:48 +0100 |
commit | e0052804daa336e0d05b8a451e15b07afd085074 (patch) | |
tree | 1e58ec80f38cdea611b1ce297a1826ee869de605 /lib/runtime_tools/test/system_information_SUITE.erl | |
parent | e310677df7b3ce6506b35044abafcb507caa7e07 (diff) | |
download | otp-e0052804daa336e0d05b8a451e15b07afd085074.tar.gz otp-e0052804daa336e0d05b8a451e15b07afd085074.tar.bz2 otp-e0052804daa336e0d05b8a451e15b07afd085074.zip |
Introduce system_information:sanity_check()
Diffstat (limited to 'lib/runtime_tools/test/system_information_SUITE.erl')
-rw-r--r-- | lib/runtime_tools/test/system_information_SUITE.erl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/runtime_tools/test/system_information_SUITE.erl b/lib/runtime_tools/test/system_information_SUITE.erl index fb9455a30f..53d20060e7 100644 --- a/lib/runtime_tools/test/system_information_SUITE.erl +++ b/lib/runtime_tools/test/system_information_SUITE.erl @@ -33,6 +33,7 @@ api_report/1, api_to_file/1, api_from_file/1, + sanity_check/1, %% server api_start_stop/1, validate_server_interface/1 @@ -84,7 +85,8 @@ all() -> [ api_to_file, api_from_file, api_start_stop, - validate_server_interface + validate_server_interface, + sanity_check ]. @@ -262,6 +264,9 @@ validate_server_interface(Config) -> ok = system_information:stop(), ok. +sanity_check(Config) when is_list(Config) -> + ok = system_information:sanity_check(). + %% aux @@ -288,7 +293,8 @@ validate_report(Report) -> erts_compile_info, beam_dynamic_libraries, environment_erts, - environment + environment, + sanity_check ], Report). ensure_report_keys([], _) -> ok; |