diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2019-10-04 10:55:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 10:55:45 -0400 |
commit | 8cdf023455bed2601b8bebe807b0c4acfecf5d0d (patch) | |
tree | 68be31c69ed37532a1e7944b08259fbaa020b568 /test/rebar_release_SUITE.erl | |
parent | bc8e5ef26a6206f1d671c556ab0d442620f1a046 (diff) | |
parent | df808931cc72348b5375e041e9b2821f660c1ef4 (diff) |
Merge pull request #2155 from g-andrade/feature/profile-string-overlay-var
Support `profile_string` overlay var in releases
Diffstat (limited to 'test/rebar_release_SUITE.erl')
-rw-r--r-- | test/rebar_release_SUITE.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/rebar_release_SUITE.erl b/test/rebar_release_SUITE.erl index 1bcc61e..1785a97 100644 --- a/test/rebar_release_SUITE.erl +++ b/test/rebar_release_SUITE.erl @@ -301,7 +301,8 @@ overlay_vars(Config) -> {var_bin_string, {{{var_bin_string}}}}, {var_tuple, {{{var_tuple}}}}, {var_list, {{{var_list}}}}, - {var_bin, {{{var_bin}}}}]], + {var_bin, {{{var_bin}}}}, + {var_profile_string, {{profile_string}}}]], % this comes from `rebar3' rebar_test_utils:create_config(AppDir, filename:join([AppDir, "config", "app.config"]), AppConfig), @@ -318,6 +319,7 @@ overlay_vars(Config) -> {var_bin_string, <<"test">>}, {var_tuple, {t, ['atom']}}, {var_list, [a, b, c, 'd']}, - {var_bin, <<23, 24, 25>>}], + {var_bin, <<23, 24, 25>>}, + {var_profile_string, 'default'}], {ok, [ExpectedSysconfig]} = file:consult(filename:join([AppDir, "_build/default/rel", Name, "releases", Vsn, "sys.config"])). |