From 96aee7d6b6a94040787d935dc14d4ebda6981dcf Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Fri, 5 Nov 2010 23:59:14 +0000 Subject: Don't choke on unknown configuration settings. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1031884 13f79535-47bb-0310-9956-ffa450edef68 --- test/etap/171-os-daemons-config.es | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/etap/171-os-daemons-config.es b/test/etap/171-os-daemons-config.es index 96e051a3..1f68ddc6 100755 --- a/test/etap/171-os-daemons-config.es +++ b/test/etap/171-os-daemons-config.es @@ -50,6 +50,10 @@ test_get_cfg2() -> FileName = get_cfg(<<"os_daemons">>, <<"foo">>), <<"sequential">> = get_cfg(<<"uuids">>, <<"algorithm">>). +test_get_unknown_cfg() -> + {[]} = get_cfg(<<"aal;3p4">>), + null = get_cfg(<<"aal;3p4">>, <<"313234kjhsdfl">>). + test_log() -> log(<<"foobar!">>), log(<<"some stuff!">>, <<"debug">>), @@ -63,6 +67,7 @@ test_log() -> do_tests() -> test_get_cfg1(), test_get_cfg2(), + test_get_unknown_cfg(), test_log(), loop(io:read("")). -- cgit v1.2.3