From ca55c672b0cd8f0ba0c5013c9b05f093f3e657a4 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 5 Mar 2018 11:51:48 +1100 Subject: [PATCH] add test configuration where a in-view zone collides with a existing zone --- .../system/checkconf/bad-in-view-dup.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bin/tests/system/checkconf/bad-in-view-dup.conf diff --git a/bin/tests/system/checkconf/bad-in-view-dup.conf b/bin/tests/system/checkconf/bad-in-view-dup.conf new file mode 100644 index 0000000000..dfde12401c --- /dev/null +++ b/bin/tests/system/checkconf/bad-in-view-dup.conf @@ -0,0 +1,19 @@ +/* + * Copyright (C) Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * See the COPYRIGHT file distributed with this work for additional + * information regarding copyright ownership. + */ + +view a { + zone x { type master; file "x"; }; +}; + +view b { + zone x { type master; file "x"; }; + zone x { in-view a; }; +};