Searched refs:warn (Results 1 - 25 of 35) sorted by relevance

12

/bind-9.11.3/unit/atf-src/admin/
H A Dcheck-style-cpp.awk26 function warn(msg) { function
56 warn("Undesired usage of #ifdef; use #if defined()")
60 warn("Undesired usage of #ifndef; use #if !defined()")
64 warn("Use the macros in sanity.hpp instead of assert");
68 warn("Do not include assert.h nor cassert");
72 warn("Use \\n instead of std::endl");
76 warn("Do not use C-style comments");
81 warn("Missing NO_CHECK_STYLE_END");
H A Dcheck-style-c.awk26 function warn(msg) { function
56 warn("Undesired usage of #ifdef; use #if defined()")
60 warn("Undesired usage of #ifndef; use #if !defined()")
64 warn("Use the macros in sanity.h instead of assert");
68 warn("getprogname(3) is not portable");
72 warn("Do not include assert.h");
76 warn("setprogname(3) is not portable");
80 warn("Do not use C99-style comments");
85 warn("Missing NO_CHECK_STYLE_END");
H A Dcheck-style-common.awk26 function warn(msg) { function
55 warn("Line too long to fit on screen")
60 warn("Tab character used for indentation");
64 warn("Trailing spaces or tabs");
68 warn("Invalid shellbang: missing space after !");
73 warn("Missing NO_CHECK_STYLE_END");
H A Dcheck-style-shell.awk26 function warn(msg) { function
66 warn("Variable should not start with an underline")
70 warn("Missing braces around variable name")
74 warn("Assignment to the empty string does not need quotes");
78 warn("Use parameter expansion instead of basename");
82 warn("Use [ instead of test");
86 warn("test(1)'s == operator is not portable");
90 warn("Avoid using a single-line if conditional");
95 warn("Missing NO_CHECK_STYLE_END");
97 warn("Missin
[all...]
H A Dcheck-style-man.awk26 function warn(msg) { function
64 warn("Sentence does not start on new line")
69 warn("Missing NO_CHECK_STYLE_END");
H A Dcheck-style.sh43 # warn message
45 warn() { function
/bind-9.11.3/bin/tests/system/checknames/
H A Dsetup.sh10 cp ns1/warn.example.db.in ns1/warn.example.db
14 cp ns1/warn.update.db.in ns1/warn.update.db
H A Dtests.sh30 echo "I: check for warnings from on zone load for 'check-names warn;' ($n)"
32 grep 'xx_xx.warn.example: bad owner name (check-names)' ns1/named.run > /dev/null || ret=1
46 echo "I: check that 'check-names response warn;' works ($n)"
97 echo "I: check that updates to 'check-names warn;' succeed and are logged ($n)"
102 update add xxx_xxx.warn.update. 600 A 10.10.10.1
105 $DIG $DIGOPTS xxx_xxx.warn.update @10.53.0.1 A > dig.out.ns1.test$n || ret=1
106 grep "xxx_xxx.warn.update/A: bad owner name (check-names)" ns1/named.run > /dev/null || ret=1
/bind-9.11.3/bin/tests/system/coverage/
H A Dtests.sh32 args= warn= error= ok= retcode= match=
52 if [ $found -ne $warn ]; then
53 echo "warning count was $found expected $warn"
/bind-9.11.3/lib/dns/include/dns/
H A Dcallbacks.h62 void (*warn)(struct dns_rdatacallbacks *, const char *, ...); member in struct:dns_rdatacallbacks
83 * \li 'error' and 'warn' are set to default callbacks that print the
/bind-9.11.3/bin/tests/system/integrity/ns1/
H A Dnamed.conf39 zone "mx-cname-warn" {
42 check-mx-cname warn;
60 zone "no-mx-cname-warn" {
63 check-mx-cname warn;
81 zone "srv-cname-warn" {
84 check-srv-cname warn;
101 zone "no-srv-cname-warn" {
104 check-srv-cname warn;
/bind-9.11.3/bin/tests/system/keymgr/
H A Dtests.sh30 kargs= cargs= kmatch= cmatch= kret= cret=0 warn= error= ok=
75 if [ $found -ne $warn ]; then
76 echo "warning count was $found expected $warn"
/bind-9.11.3/bin/tests/system/checknames/ns1/
H A Dnamed.conf37 zone "warn.example" {
39 file "warn.example.db";
40 check-names warn;
56 zone "warn.update" {
58 file "warn.update.db";
60 check-names warn;
/bind-9.11.3/lib/dns/
H A Dcallbacks.c99 callbacks->warn = isclog_warn_callback;
106 callbacks->warn = stdio_error_warn_callback;
H A Ddiff.c248 isc_boolean_t warn)
328 if (t->ttl != rdl.ttl && warn) {
405 if (warn) {
247 diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver, isc_boolean_t warn) argument
H A Dmaster.c272 (*callbacks->warn)(callbacks, \
523 REQUIRE(callbacks->warn != NULL);
878 (*callbacks->warn)(callbacks,
942 (callbacks->warn)(callbacks,
964 callback = lctx->callbacks->warn;
1002 (*callbacks->warn)(callbacks, "%s:%lu: warning: ownername "
1529 (*callbacks->warn)(callbacks,
1597 (*callbacks->warn)(callbacks,
1655 (*callbacks->warn)(callbacks,
1805 (*callbacks->warn)(callback
[all...]
H A Drcode.c433 warn("overlapping key flags");
/bind-9.11.3/bin/tests/system/checknames/ns2/
H A Dnamed.conf23 check-names response warn;
/bind-9.11.3/bin/tests/system/spf/ns1/
H A Dnamed.conf29 zone "warn" {
32 check-spf warn;
/bind-9.11.3/bin/tests/system/integrity/
H A Dtests.sh24 echo "I:check that 'check-integrity yes; check-mx-cname warn;' works ($n)"
26 $DIG -p 5300 @10.53.0.1 mx mx-cname-warn > dig.out.test$n || ret=1
28 grep "zone mx-cname-warn/IN: mx-cname-warn/MX 'cname.mx-cname-warn' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
51 echo "I:check that 'check-integrity no; check-mx-cname warn;' works ($n)"
53 $DIG -p 5300 @10.53.0.1 mx no-mx-cname-warn > dig.out.test$n || ret=1
55 grep "zone no-mx-cname-warn/IN: no-mx-cname-warn/MX 'cname.no-mx-cname-warn' i
[all...]
/bind-9.11.3/bin/delv/
H A Ddelv.c216 warn(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
219 warn(const char *format, ...) { function
1115 warn("split must be a multiple of 4; "
1290 warn("extra query class");
1300 warn("ignoring non-IN query class");
1302 warn("ignoring invalid class");
1315 warn("extra query name");
1330 warn("extra query type");
1337 warn("ignoring invalid type");
1345 warn("extr
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dmaster_test.c81 setup_master(void (*warn)(struct dns_rdatacallbacks *, const char *, ...),
107 if (warn != NULL)
108 callbacks.warn = warn;
117 void (*warn)(struct dns_rdatacallbacks *, const char *, ...),
122 result = setup_master(warn, error);
/bind-9.11.3/bin/tests/system/checkconf/
H A Dtests.sh182 l=`$CHECKCONF warn-keydir.conf 2>&1 | grep "'test.keydir' does not exist" | wc -l`
185 l=`$CHECKCONF warn-keydir.conf 2>&1 | grep "'test.keydir' is not a directory" | wc -l`
189 l=`$CHECKCONF warn-keydir.conf 2>&1 | grep "key-directory" | wc -l`
334 $CHECKCONF warn-dlv-auto.conf > checkconf.out$n 2>/dev/null || ret=1
342 $CHECKCONF warn-dlv-dlv.isc.org.conf > checkconf.out$n 2>/dev/null || ret=1
/bind-9.11.3/bin/named/
H A Dzoneconf.c788 isc_boolean_t warn = ISC_FALSE, ignore = ISC_FALSE; local
1241 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
1280 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
1471 if (strcasecmp(dupcheck, "warn") == 0) {
1486 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
1522 if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
1523 warn = ISC_TRUE;
1526 warn = ignore = ISC_FALSE;
1528 warn = ignore = ISC_TRUE;
1531 dns_zone_setoption(mayberaw, DNS_ZONEOPT_WARNMXCNAME, warn);
[all...]
/bind-9.11.3/bin/tests/system/checkzone/
H A Dtests.sh114 $CHECKZONE example zones/warn.inherit.origin.db > test.out1.$n 2>&1 || ret=1
122 $CHECKZONE example zones/warn.inherited.owner.db > test.out1.$n 2>&1 || ret=1

Completed in 390 milliseconds

12