diff options
Diffstat (limited to 'test/etap/111-replication-changes-feed.t')
-rwxr-xr-x | test/etap/111-replication-changes-feed.t | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/etap/111-replication-changes-feed.t b/test/etap/111-replication-changes-feed.t index 10cea201..b03c1ac7 100755 --- a/test/etap/111-replication-changes-feed.t +++ b/test/etap/111-replication-changes-feed.t @@ -37,12 +37,15 @@ pause = 1, conn = nil }). + +config_files() -> + lists:map(fun test_util:build_file/1, [ + "etc/couchdb/default_dev.ini", + "etc/couchdb/local_dev.ini" + ]). + main(_) -> - code:add_patha("src/etap"), - code:add_pathz("src/couchdb"), - code:add_pathz("src/ibrowse"), - code:add_pathz("src/mochiweb"), - code:add_pathz("src/erlang-oauth"), + test_util:init_code_path(), etap:plan(13), case (catch test()) of @@ -55,9 +58,7 @@ main(_) -> ok. test() -> - couch_server_sup:start_link( - ["etc/couchdb/default_dev.ini", "etc/couchdb/local_dev.ini"] - ), + couch_server_sup:start_link(config_files()), ibrowse:start(), crypto:start(), |