From: Matthijs Mekking Date: Mon, 10 Feb 2020 10:24:28 +0000 (+0100) Subject: Add test for checkconf glob include X-Git-Tag: v9.17.1~98^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44caa64f390b9790e565bc9b982fad5328f426ff;p=thirdparty%2Fbind9.git Add test for checkconf glob include --- diff --git a/bin/tests/system/include-multiplecfg/tests.sh b/bin/tests/system/include-multiplecfg/tests.sh index d5c37caaa65..5651536e0af 100644 --- a/bin/tests/system/include-multiplecfg/tests.sh +++ b/bin/tests/system/include-multiplecfg/tests.sh @@ -50,5 +50,13 @@ grep '^mars.com.' dig.out.ns2.$n > /dev/null || ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` +# Test 4: named-checkconf correctly parses glob includes. +n=`expr $n + 1` +echo_i "checking named-checkconf with glob include ($n)" +ret=0 +(cd ns2; $CHECKCONF named.conf) || ret=1 +if [ $ret != 0 ]; then echo_i "failed"; fi +status=`expr $status + $ret` + echo_i "exit status: $status" [ $status -eq 0 ] || exit 1