Searched refs:expected (Results 1 - 25 of 27) sorted by relevance

12

/bind-9.11.3/bin/tests/system/dnssec/
H A Dntadiff.pl16 my $expected = Time::Piece->strptime($ARGV[1], '%s') + ONE_WEEK;
17 my $diff = abs($actual - $expected);
H A Ddnssec_update_test.pl60 my ($expected, @records) = @_;
73 assert($rcode eq $expected, "expected $expected, got $rcode");
H A Dtests.sh894 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 Dtestsuite.h168 * 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 Dtestsuite.c334 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 Dmacros.h156 #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 Dtests.sh54 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 Dupdate.pl65 my ($expected, @records) = @_;
78 assert($rcode eq $expected, "expected $expected, got $rcode");
/bind-9.11.3/unit/atf-src/tools/
H A Dtest_helpers.hpp72 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 Drequirements_test.cpp50 do_check(const std::string& expected, const vars_map& metadata, argument
54 if (!tools::text::match(actual, expected))
56 "match \"" + expected + "\"");
H A Datf-report_test.sh122 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 Dmacros.hpp108 #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 Dnsec3_test.c30 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 Ddnstap_test.c255 static dns_dtmsgtype_t expected = DNS_DTTYPE_SQ; local
268 ATF_CHECK_EQ(dtdata->type, expected);
270 expected <<= 1;
H A Dname_test.c126 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 Dhmacmd5.c358 unsigned char expected[] = { local
382 expected[0] ^= 0x01;
394 result = isc_hmacmd5_verify2(&ctx, expected, sizeof(expected));
H A Dmd5.c353 unsigned char expected[] = { local
358 INSIST(sizeof(expected) == ISC_MD5_DIGESTLENGTH);
377 return (ISC_TF(memcmp(digest, expected, ISC_MD5_DIGESTLENGTH) == 0));
H A Dsha1.c425 unsigned char expected[] = { local
431 INSIST(sizeof(expected) == ISC_SHA1_DIGESTLENGTH);
450 return (ISC_TF(memcmp(digest, expected, ISC_SHA1_DIGESTLENGTH) == 0));
H A Dhmacsha.c1523 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 Dupdate_test.pl65 my ($expected, @records) = @_;
78 assert($rcode eq $expected, "expected $expected, got $rcode");
/bind-9.11.3/bin/tests/system/addzone/
H A Dtests.sh116 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 Dlwtest.c123 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 Dcompile245 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 Dt_names.c161 "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 Dtests.sh36 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...]

Completed in 364 milliseconds

12