aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-11-11 14:11:33 +0100
committerAnders Svensson <[email protected]>2011-11-11 15:39:52 +0100
commitec31c8ea920d9f689ae775839ee9f8ec36e43570 (patch)
tree313f48e067fdf9f66fbd83d0a0a01167a6d53f86 /lib/diameter
parent78dd1afd1521dafcb8ea4e18262f97259a67ee59 (diff)
downloadotp-ec31c8ea920d9f689ae775839ee9f8ec36e43570.tar.gz
otp-ec31c8ea920d9f689ae775839ee9f8ec36e43570.tar.bz2
otp-ec31c8ea920d9f689ae775839ee9f8ec36e43570.zip
Add sasl to app testcases to placate systools
A recent sasl change results in a missing_sasl warning/error that causes the release and relup testcases to fail.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/test/diameter_app_SUITE.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/diameter/test/diameter_app_SUITE.erl b/lib/diameter/test/diameter_app_SUITE.erl
index d5ecdea291..241eb41821 100644
--- a/lib/diameter/test/diameter_app_SUITE.erl
+++ b/lib/diameter/test/diameter_app_SUITE.erl
@@ -134,13 +134,16 @@ release(Config) ->
Rel = {release,
{"diameter test release", fetch(vsn, App)},
{erts, erlang:system_info(version)},
- [{A, appvsn(A)} || A <- fetch(applications, App)]},
+ [{A, appvsn(A)} || A <- [sasl | fetch(applications, App)]]},
Dir = fetch(priv_dir, Config),
ok = write_file(filename:join([Dir, "diameter_test.rel"]), Rel),
{ok, _, []} = systools:make_script("diameter_test", [{path, [Dir]},
{outdir, Dir},
silent]).
+%% sasl need to be included to avoid a missing_sasl warning, error
+%% in the case of relup/1.
+
appvsn(Name) ->
[{application, Name, App}] = diameter_util:consult(Name, app),
fetch(vsn, App).
@@ -208,7 +211,7 @@ relup(Config) ->
App = fetch(app, Config),
Rel = [{erts, erlang:system_info(version)}
- | [{A, appvsn(A)} || A <- fetch(applications, App)]],
+ | [{A, appvsn(A)} || A <- [sasl | fetch(applications, App)]]],
Dir = fetch(priv_dir, Config),