aboutsummaryrefslogtreecommitdiffstats
path: root/test/rlx_release_SUITE.erl
diff options
context:
space:
mode:
authorEric Merritt <[email protected]>2013-10-16 16:45:18 -0700
committerEric Merritt <[email protected]>2013-10-16 16:45:18 -0700
commitac1435aeab0e16f3a22428e95b8d895f32917629 (patch)
treed8ccc0abca21073ec4cb7a57077d444fd30595cf /test/rlx_release_SUITE.erl
parentc0a0f74fa1f5c51bc622618f924f2175c07cbda2 (diff)
parentd6adddc25738be79c2663e410cc1ff45c14c23c7 (diff)
downloadrelx-ac1435aeab0e16f3a22428e95b8d895f32917629.tar.gz
relx-ac1435aeab0e16f3a22428e95b8d895f32917629.tar.bz2
relx-ac1435aeab0e16f3a22428e95b8d895f32917629.zip
Merge pull request #76 from tsloughter/master
fix load overlay to support filename not in a list. This closes #74
Diffstat (limited to 'test/rlx_release_SUITE.erl')
-rw-r--r--test/rlx_release_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/rlx_release_SUITE.erl b/test/rlx_release_SUITE.erl
index 184f444..2d4c86d 100644
--- a/test/rlx_release_SUITE.erl
+++ b/test/rlx_release_SUITE.erl
@@ -410,11 +410,13 @@ make_rerun_overridden_release(Config) ->
create_app(OverrideDir1, OverrideApp, OverrideVsn, [stdlib,kernel], []),
ConfigFile = filename:join([LibDir1, "relx.config"]),
+ OverlayVars = filename:join([LibDir1, "vars1.config"]),
write_config(ConfigFile,
[{release, {foo, "0.0.1"},
[goal_app_1,
erlang:list_to_atom(OverrideApp),
- goal_app_2]}]),
+ goal_app_2]},
+ {overlay_vars, [OverlayVars]}]),
OutputDir = filename:join([proplists:get_value(data_dir, Config),
create_random_name("relx-output")]),
{ok, Cwd} = file:get_cwd(),