aboutsummaryrefslogtreecommitdiffstats
path: root/test/rclt_release_SUITE.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2012-12-27 17:45:32 -0500
committerEric <[email protected]>2012-12-28 10:03:06 -0500
commit58a82fd5970aa098826ad65f32cc3dab34fb1da6 (patch)
tree605bea8302afcbcefbab4ec6fe946d0d1f8eb5f6 /test/rclt_release_SUITE.erl
parent901f020a4e0e5635b2d242f75ead571830395a06 (diff)
downloadrelx-58a82fd5970aa098826ad65f32cc3dab34fb1da6.tar.gz
relx-58a82fd5970aa098826ad65f32cc3dab34fb1da6.tar.bz2
relx-58a82fd5970aa098826ad65f32cc3dab34fb1da6.zip
support file->directory copies in overlay
Diffstat (limited to 'test/rclt_release_SUITE.erl')
-rw-r--r--test/rclt_release_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rclt_release_SUITE.erl b/test/rclt_release_SUITE.erl
index 890a24b..06644ee 100644
--- a/test/rclt_release_SUITE.erl
+++ b/test/rclt_release_SUITE.erl
@@ -260,6 +260,8 @@ overlay_release(Config) ->
{overlay, [{mkdir, "{{target_dir}}/fooo"},
{copy, OverlayVars,
"{{target_dir}}/{{foo_dir}}/vars.config"},
+ {copy, OverlayVars,
+ "{{target_dir}}/{{yahoo}}/"},
{template, Template,
"{{target_dir}}/test_template_resolved"}]},
{release, {foo, "0.0.1"},
@@ -293,6 +295,7 @@ overlay_release(Config) ->
?assert(ec_file:exists(filename:join(OutputDir, "fooo"))),
?assert(ec_file:exists(filename:join([OutputDir, "foodir", "vars.config"]))),
+ ?assert(ec_file:exists(filename:join([OutputDir, "yahoo", "vars.config"]))),
TemplateData = case file:consult(filename:join([OutputDir, test_template_resolved])) of
{ok, Details} ->