From c1f2441020fcba500821981013144aff1fd8f8b9 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sun, 13 Sep 2009 11:14:59 +0000 Subject: allow config callbacks to get passed the X-Couch-Persist flag git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814300 13f79535-47bb-0310-9956-ffa450edef68 --- test/etap/082-config-register.t | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/etap/082-config-register.t b/test/etap/082-config-register.t index a35d96aa..416c45ee 100755 --- a/test/etap/082-config-register.t +++ b/test/etap/082-config-register.t @@ -84,4 +84,11 @@ test() -> "Implicitly test that the function got de-registered" ), + % test passing of Persist flag + couch_config:register( + fun("httpd", _, _, Persist) -> + etap:is(Persist, false) + end), + ok = couch_config:set("httpd", "port", "80", false), + ok. -- cgit v1.2.3