/bind-9.11.3/bin/tests/system/dnssec/ |
H A D | ntadiff.pl | 16 my $expected = Time::Piece->strptime($ARGV[1], '%s') + ONE_WEEK; 17 my $diff = abs($actual - $expected);
|
H A D | dnssec_update_test.pl | 60 my ($expected, @records) = @_; 73 assert($rcode eq $expected, "expected $expected, got $rcode");
|
H A D | tests.sh | 894 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 912 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 1915 # check "regular" attribute in NTA file works as expected at named 1974 # check "forced" attribute in NTA file works as expected at named
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/ |
H A D | testsuite.h | 168 * The assertion passes if `gotten' is equal to `expected'. 171 idn_testsuite_assertint(idn_testsuite_t ctx, int gotten, int expected, 174 #define ASSERT_INT(gotten, expected) \ 176 idn_testsuite_assertint(ctx__, gotten, expected, __FILE__, __LINE__); \ 183 * The assertion passes if `gotten' is lexically equal to `expected'. 187 const char *expected, const char *file, int lineno); 189 #define ASSERT_STRING(gotten, expected) \ 191 idn_testsuite_assertstring(ctx__, gotten, expected, __FILE__, __LINE__); \ 198 * The assertion passes if `gotten' is equal to `expected'. 202 const void *expected, cons [all...] |
H A D | testsuite.c | 334 idn_testsuite_assertint(idn_testsuite_t ctx, int gotten, int expected, argument 342 if (expected == gotten) 346 sprintf(msg, "`%d' expected, but got `%d'", expected, gotten); 352 const char *gotten, const char *expected, 358 assert(ctx != NULL && gotten != NULL && expected != NULL && 363 if (strcmp(expected, gotten) == 0) 367 msg = (char *)malloc(strlen(expected) * 4 + strlen(gotten) * 4 + 32); 368 expected_hex = make_hex_string(expected); 373 sprintf(msg, "`%s' expected, bu 351 idn_testsuite_assertstring(idn_testsuite_t ctx, const char *gotten, const char *expected, const char *file, int lineno) argument 385 idn_testsuite_assertptr(idn_testsuite_t ctx, const void *gotten, const void *expected, const char *file, int lineno) argument 430 idn_testsuite_assertresult(idn_testsuite_t ctx, idn_result_t gotten, idn_result_t expected, const char *file, int lineno) argument 449 idn_testsuite_assertucs4string(idn_testsuite_t ctx, const unsigned long *gotten, const unsigned long *expected, const char *file, int lineno) argument [all...] |
/bind-9.11.3/unit/atf-src/atf-c/ |
H A D | macros.h | 156 #define ATF_REQUIRE_EQ(expected, actual) \ 157 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s", #expected, #actual) 159 #define ATF_CHECK_EQ(expected, actual) \ 160 ATF_CHECK_MSG((expected) == (actual), "%s != %s", #expected, #actual) 162 #define ATF_REQUIRE_EQ_MSG(expected, actual, fmt, ...) \ 163 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s: " fmt, \ 164 #expected, #actual, ##__VA_ARGS__) 166 #define ATF_CHECK_EQ_MSG(expected, actua [all...] |
/bind-9.11.3/bin/tests/system/pending/ |
H A D | tests.sh | 54 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 62 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 74 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 92 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 100 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 112 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 125 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 137 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 150 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 162 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'"" [all...] |
/bind-9.11.3/bin/tests/system/stress/ |
H A D | update.pl | 65 my ($expected, @records) = @_; 78 assert($rcode eq $expected, "expected $expected, got $rcode");
|
/bind-9.11.3/unit/atf-src/tools/ |
H A D | test_helpers.hpp | 72 check_equal(const char* expected[], const string_vector& actual) argument 74 const char** expected_iter = expected; 92 for (expected_iter = expected; *expected_iter != NULL; expected_iter++)
|
H A D | requirements_test.cpp | 50 do_check(const std::string& expected, const vars_map& metadata, argument 54 if (!tools::text::match(actual, expected)) 56 "match \"" + expected + "\"");
|
H A D | atf-report_test.sh | 122 tc, #.#, expect_helpers, death_but_pass, failed, Test case was expected to terminate abruptly but it continued execution 124 tc, #.#, expect_helpers, exit_but_pass, failed, Test case was expected to exit cleanly but it continued execution 126 tc, #.#, expect_helpers, fail_and_fail_check, expected_failure, And fail again: 2 checks failed as expected; see output for more details 133 tc, #.#, expect_helpers, signal_but_pass, failed, Test case was expected to receive a termination signal but it continued execution 136 tc, #.#, expect_helpers, timeout_but_pass, failed, Test case was expected to hang but it continued execution 149 death_but_pass: [#.#s] Failed: Test case was expected to terminate abruptly but it continued execution 151 exit_but_pass: [#.#s] Failed: Test case was expected to exit cleanly but it continued execution 153 fail_and_fail_check: [#.#s] Expected failure: And fail again: 2 checks failed as expected; see output for more details 160 signal_but_pass: [#.#s] Failed: Test case was expected to receive a termination signal but it continued execution 163 timeout_but_pass: [#.#s] Failed: Test case was expected t [all...] |
/bind-9.11.3/unit/atf-src/atf-c++/ |
H A D | macros.hpp | 108 #define ATF_REQUIRE_EQ(expected, actual) \ 110 if ((expected) != (actual)) { \ 113 << #expected << " != " << #actual \ 114 << " (" << (expected) << " != " << (actual) << ")"; \ 142 " as expected"; \ 166 " as expected"; \
|
/bind-9.11.3/lib/dns/tests/ |
H A D | nsec3_test.c | 30 iteration_test(const char *file, unsigned int expected) { argument 41 ATF_CHECK_EQ_MSG(iterations, expected, "%s", file); 51 const char *expected_salt; /* string expected in target buffer */ 57 * as expected and whether it properly checks available buffer space. 87 "\"%s\": expected success, got %s\n", 90 "\"%s\": expected salt \"%s\", got \"%s\"", 104 "\"%s\": expected a %lu-byte target buffer to be " 110 "\"%s\": expected a %lu-byte target buffer to be " 116 "\"%s\": expected a %lu-byte target buffer to be "
|
H A D | dnstap_test.c | 255 static dns_dtmsgtype_t expected = DNS_DTTYPE_SQ; local 268 ATF_CHECK_EQ(dtdata->type, expected); 270 expected <<= 1;
|
H A D | name_test.c | 126 unsigned char *expected, unsigned int length, 158 ATF_CHECK(memcmp(target.base, expected, target.used) == 0); 324 "testing %s - expected %u", data[i].name, data[i].istat); 125 compress_test(dns_name_t *name1, dns_name_t *name2, dns_name_t *name3, unsigned char *expected, unsigned int length, dns_compress_t *cctx, dns_decompress_t *dctx) argument
|
/bind-9.11.3/lib/isc/ |
H A D | hmacmd5.c | 358 unsigned char expected[] = { local 382 expected[0] ^= 0x01; 394 result = isc_hmacmd5_verify2(&ctx, expected, sizeof(expected));
|
H A D | md5.c | 353 unsigned char expected[] = { local 358 INSIST(sizeof(expected) == ISC_MD5_DIGESTLENGTH); 377 return (ISC_TF(memcmp(digest, expected, ISC_MD5_DIGESTLENGTH) == 0));
|
H A D | sha1.c | 425 unsigned char expected[] = { local 431 INSIST(sizeof(expected) == ISC_SHA1_DIGESTLENGTH); 450 return (ISC_TF(memcmp(digest, expected, ISC_SHA1_DIGESTLENGTH) == 0));
|
H A D | hmacsha.c | 1523 unsigned char expected[] = { local 1549 expected[0] ^= 0x01; 1561 result = isc_hmacsha1_verify(&ctx, expected, sizeof(expected));
|
/bind-9.11.3/bin/tests/system/nsupdate/ |
H A D | update_test.pl | 65 my ($expected, @records) = @_; 78 assert($rcode eq $expected, "expected $expected, got $rcode");
|
/bind-9.11.3/bin/tests/system/addzone/ |
H A D | tests.sh | 116 expected='zone "previous.example" { type master; file "previous.db"; };' 117 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1 185 expected='zone "normal.example" { type master; file "normal.db"; };' 186 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1 194 expected='zone "finaldot.example." { type master; file "normal.db"; };' 195 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1 443 expected='zone "added.example" in external { type master; file "added.db"; };' 445 expected='zone "added.example" { type master; file "added.db"; };' 447 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1
|
/bind-9.11.3/bin/tests/system/lwresd/ |
H A D | lwtest.c | 123 test_gabn(const char *target, lwres_result_t expected, const char *address, argument 137 if (ret != expected) { 174 printf("I:gabn(%s) returned %s, expected %s\n", 185 test_gnba(const char *target, lwres_uint32_t af, lwres_result_t expected, argument 205 if (ret != expected) { 213 printf("I:gnba(%s) returned %s, expected %s\n", 251 "expected %s\n", name, outbuf, address); 299 "expected %s\n", name, outbuf, address); 357 "expected %s\n", name, outbuf, address); 398 "expected [all...] |
/bind-9.11.3/unit/atf-src/admin/ |
H A D | compile | 245 arguments, and rename the output as expected. 315 # that we are using for the .o file. Also, base the name on the expected
|
/bind-9.11.3/bin/tests/names/ |
H A D | t_names.c | 161 "got 0x%.2x, expected 0x%.2x\n", 167 t_info("data length error, expected %lu, got %lu\n", 487 test_dns_name_isabsolute(char *test_name, isc_boolean_t expected) { argument 509 if (isabs_p == expected) 549 * label, bitpos, expected value. 764 t_info("expected relationship of %s, got %s\n", 777 t_info("expected ordering %d, got %d\n", 912 t_info("expected order of %d, got %d\n", 1021 t_info("expected order of %d, got %d\n", 1125 t_info("expected retur [all...] |
/bind-9.11.3/bin/tests/system/autosign/ |
H A D | tests.sh | 36 expected="${3:-0}" 40 if [ $_ret = $expected ]; then 1058 # DNSKEY not expected: 1074 # DNSKEY expected: 1076 # RRSIG not expected: 1092 # DNSKEY expected: 1094 # RRSIG expected: 1097 # A expected: 1099 # RRSIG expected: 1132 echo "I:checking revoked key with duplicate key ID (failure expected) ( [all...] |