summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2011-04-21 00:30:04 +0000
committerPaul Joseph Davis <davisp@apache.org>2011-04-21 00:30:04 +0000
commit6783ea04a1a95bfc36ddecfca3d1be79174413ef (patch)
tree2680648759c810a2a59fd86a457157bd5c1f928e /test
parent041395d2648c571082527ad85357bfcb0a789de3 (diff)
Fix config file paths for etap tests.
Partial backport of 1066932 from trunk. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095576 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/etap/test_util.erl.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/etap/test_util.erl.in b/test/etap/test_util.erl.in
index 87b474ae..460b0293 100644
--- a/test/etap/test_util.erl.in
+++ b/test/etap/test_util.erl.in
@@ -34,8 +34,9 @@ build_file(Name) ->
filename:join([builddir(), Name]).
config_files() ->
- lists:map(fun build_file/1, [
- "etc/couchdb/default_dev.ini",
- "etc/couchdb/local_dev.ini",
- "test/etap/random_port.ini"
- ]).
+ [
+ build_file("etc/couchdb/default_dev.ini"),
+ build_file("etc/couchdb/local_dev.ini"),
+ source_file("test/etap/random_port.ini")
+ ].
+