Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joey Salazar
BIND
Commits
d1f8e116
Commit
d1f8e116
authored
Sep 10, 2018
by
Mark Andrews
Browse files
add more missing name in update rule checks
parent
54c4db56
Changes
7
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/checkconf/bad-update-policy10.conf
0 → 100644
View file @
d1f8e116
/*
*
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
.
*/
zone
"example.com"
{
type
master
;
file
"example.com.db"
;
update
-
policy
{
grant
*
krb5
-
selfsub
TXT
;
};
};
bin/tests/system/checkconf/bad-update-policy11.conf
0 → 100644
View file @
d1f8e116
/*
*
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
.
*/
zone
"example.com"
{
type
master
;
file
"example.com.db"
;
update
-
policy
{
grant
*
ms
-
selfsub
TXT
;
};
};
bin/tests/system/checkconf/bad-update-policy12.conf
0 → 100644
View file @
d1f8e116
/*
*
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
.
*/
zone
"example.com"
{
type
master
;
file
"example.com.db"
;
update
-
policy
{
grant
*
external
TXT
;
};
};
bin/tests/system/checkconf/bad-update-policy13.conf
0 → 100644
View file @
d1f8e116
/*
*
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
.
*/
zone
"example.com"
{
type
master
;
file
"example.com.db"
;
update
-
policy
{
grant
a
-
key
-
name
name
TXT
;
};
};
bin/tests/system/checkconf/bad-update-policy14.conf
0 → 100644
View file @
d1f8e116
/*
*
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
.
*/
zone
"example.com"
{
type
master
;
file
"example.com.db"
;
update
-
policy
{
grant
a
-
key
-
name
subdomain
TXT
;
};
};
bin/tests/system/checkconf/bad-update-policy15.conf
0 → 100644
View file @
d1f8e116
/*
*
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
.
*/
zone
"example.com"
{
type
master
;
file
"example.com.db"
;
update
-
policy
{
grant
a
-
key
-
name
wildcard
TXT
;
};
};
bin/tests/system/checkconf/tests.sh
View file @
d1f8e116
...
...
@@ -54,11 +54,11 @@ do
pat
=
"identity and name fields are not the same"
grep
"
$pat
"
checkconf.out
>
/dev/null
||
ret
=
1
;;
bad-update-policy[4589].conf
)
bad-update-policy[4589].conf
|bad-update-policy1[01].conf
)
pat
=
"name field not set to placeholder value"
grep
"
$pat
"
checkconf.out
>
/dev/null
||
ret
=
1
;;
bad-update-policy[67].conf
)
bad-update-policy[67].conf
|bad-update-policy1[2345].conf
)
pat
=
"missing name field type '.*' found"
grep
"
$pat
"
checkconf.out
>
/dev/null
||
ret
=
1
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment