aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-10-03 15:21:04 +0200
committerSiri Hansen <[email protected]>2012-10-03 15:21:04 +0200
commit0bdd08b451c0afc859acdc06678a944e6195a279 (patch)
tree4ea53a2f303b67c5afe291399fdc550496d94ec2 /lib/sasl/test
parent54e7cc9086908a0e5642caa6ac3680557acc5a67 (diff)
downloadotp-0bdd08b451c0afc859acdc06678a944e6195a279.tar.gz
otp-0bdd08b451c0afc859acdc06678a944e6195a279.tar.bz2
otp-0bdd08b451c0afc859acdc06678a944e6195a279.zip
Fix release_handler:find_script so it can read regexp in appups
Diffstat (limited to 'lib/sasl/test')
-rw-r--r--lib/sasl/test/release_handler_SUITE.erl12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/sasl/test/release_handler_SUITE.erl b/lib/sasl/test/release_handler_SUITE.erl
index 87a755031c..94cffc988d 100644
--- a/lib/sasl/test/release_handler_SUITE.erl
+++ b/lib/sasl/test/release_handler_SUITE.erl
@@ -63,7 +63,8 @@ cases() ->
instructions, eval_appup, eval_appup_with_restart,
supervisor_which_children_timeout,
release_handler_which_releases, install_release_syntax_check,
- upgrade_supervisor, upgrade_supervisor_fail, otp_9864].
+ upgrade_supervisor, upgrade_supervisor_fail, otp_9864,
+ otp_10463_upgrade_script_regexp].
groups() ->
[{release,[],
@@ -1660,6 +1661,15 @@ upgrade_gg(cleanup,Config) ->
ok = stop_nodes(NodeNames).
+%%%-----------------------------------------------------------------
+%%% OTP-10463, Bug - release_handler could not handle regexp in appup
+%%% files.
+otp_10463_upgrade_script_regexp(_Config) ->
+ %% Assuming that kernel always has a regexp in it's appup
+ KernelVsn = vsn(kernel,current),
+ {ok,KernelVsn,_} =
+ release_handler:upgrade_script(kernel,code:lib_dir(kernel)),
+ ok.
%%%=================================================================