Check parsed resconf values
Add 'attempts' check, fix 'ndots' data. Create a bunch of verification functions and check parsed values, not just return codes.
This commit is contained in:
10
lib/irs/tests/testdata/options-attempts.conf
vendored
Normal file
10
lib/irs/tests/testdata/options-attempts.conf
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# 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 https://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
options attempts:4
|
||||
2
lib/irs/tests/testdata/options-ndots.conf
vendored
2
lib/irs/tests/testdata/options-ndots.conf
vendored
@@ -7,4 +7,4 @@
|
||||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
option ndots:2
|
||||
options ndots:2
|
||||
|
||||
Reference in New Issue
Block a user