aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/test/os_mon_SUITE.erl
diff options
context:
space:
mode:
authorTobias Schlager <[email protected]>2014-02-18 12:33:31 +0100
committerSiri Hansen <[email protected]>2014-02-24 11:02:14 +0100
commit841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e (patch)
treebc0150664c476b7bcee1e8d490e2eef5e5ec1dc3 /lib/os_mon/test/os_mon_SUITE.erl
parente13698de39397b8adf774467ff4c9c9b8e22bd3a (diff)
downloadotp-841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e.tar.gz
otp-841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e.tar.bz2
otp-841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e.zip
Add test suites performing app and appup file checks
Add the mentioned test suites for *all* library and touched non-library applications.
Diffstat (limited to 'lib/os_mon/test/os_mon_SUITE.erl')
-rw-r--r--lib/os_mon/test/os_mon_SUITE.erl9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/os_mon/test/os_mon_SUITE.erl b/lib/os_mon/test/os_mon_SUITE.erl
index f074657d4c..08ad8436dd 100644
--- a/lib/os_mon/test/os_mon_SUITE.erl
+++ b/lib/os_mon/test/os_mon_SUITE.erl
@@ -25,7 +25,7 @@
-export([init_per_testcase/2, end_per_testcase/2]).
%% Test cases
--export([app_file/1, config/1]).
+-export([app_file/1, appup_file/1, config/1]).
%% Default timetrap timeout (set in init_per_testcase)
-define(default_timeout, ?t:minutes(1)).
@@ -43,8 +43,8 @@ suite() -> [{ct_hooks,[ts_install_cth]}].
all() ->
case test_server:os_type() of
- {unix, sunos} -> [app_file, config];
- _OS -> [app_file]
+ {unix, sunos} -> [app_file, appup_file, config];
+ _OS -> [app_file, appup_file]
end.
groups() ->
@@ -71,6 +71,9 @@ app_file(Config) when is_list(Config) ->
?line ok = test_server:app_test(os_mon),
ok.
+appup_file(Config) when is_list(Config) ->
+ ok = test_server:appup_test(os_mon).
+
config(suite) ->
[];
config(doc) ->