Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 1224) sorted by relevance

12345678910>>...49

/src/contrib/ntp/sntp/unity/
H A Dunity.h76 … TEST_ASSERT_EQUAL_INT(expected, actual) UNITY_… argument
77 …TEST_ASSERT_EQUAL_INT8(expected, actual) UNITY_T… argument
78 …EST_ASSERT_EQUAL_INT16(expected, actual) UNITY_TE… argument
79 …EST_ASSERT_EQUAL_INT32(expected, actual) UNITY_TE… argument
80 …EST_ASSERT_EQUAL_INT64(expected, actual) UNITY_TE… argument
81 …ne TEST_ASSERT_EQUAL(expected, actual) UNIT… argument
82 …efine TEST_ASSERT_NOT_EQUAL(expected, actual) U… argument
83 …TEST_ASSERT_EQUAL_UINT(expected, actual) UNITY_T… argument
84 …EST_ASSERT_EQUAL_UINT8(expected, actual) UNITY_TE… argument
85 …ST_ASSERT_EQUAL_UINT16(expected, actual) UNITY_TES… argument
[all …]
H A Dunity_internals.h436 void UnityAssertEqualNumber(const _U_SINT expected,
442 void UnityAssertEqualIntArray(UNITY_PTR_ATTRIBUTE const void* expected,
450 const _U_SINT expected,
455 void UnityAssertEqualString(const char* expected,
460 void UnityAssertEqualStringArray( const char** expected,
466 void UnityAssertEqualMemory( UNITY_PTR_ATTRIBUTE const void* expected,
474 const _U_SINT expected,
486 const _UF expected,
491 void UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const _UF* expected,
505 const _UD expected,
[all …]
/src/crypto/openssh/regress/unittests/authopt/
H A Dtests.c90 const struct sshauthopt *expected) in compare_opts() argument
95 ASSERT_PTR_NE(expected, NULL); in compare_opts()
96 ASSERT_PTR_NE(expected, opts); /* bozo :) */ in compare_opts()
98 #define FLAG_EQ(x) ASSERT_INT_EQ(opts->x, expected->x) in compare_opts()
110 if (expected->x == NULL) \ in compare_opts()
111 ASSERT_PTR_EQ(opts->x, expected->x); \ in compare_opts()
113 ASSERT_STRING_EQ(opts->x, expected->x); \ in compare_opts()
123 ASSERT_SIZE_T_EQ(opts->nx, expected->nx); \ in compare_opts()
124 if (expected->nx == 0) \ in compare_opts()
126 for (i = 0; i < expected->nx; i++) \ in compare_opts()
[all …]
/src/contrib/libfido2/src/
H A Dtpm.c229 tpm_rs256_pubarea_t expected; in check_rs256_pubarea() local
238 memset(&expected, 0, sizeof(expected)); in check_rs256_pubarea()
239 expected.alg = TPM_ALG_RSA; in check_rs256_pubarea()
240 expected.hash = TPM_ALG_SHA256; in check_rs256_pubarea()
241 expected.attr = be32toh(actual->attr); in check_rs256_pubarea()
242 expected.attr &= ~(TPMA_RESERVED|TPMA_CLEAR); in check_rs256_pubarea()
243 expected.attr |= (TPMA_FIXED|TPMA_FIXED_P|TPMA_SENSITIVE|TPMA_SIGN); in check_rs256_pubarea()
244 expected.policy = actual->policy; in check_rs256_pubarea()
245 expected.policy.size = sizeof(expected.policy.body); in check_rs256_pubarea()
246 expected.param.symmetric = TPM_ALG_NULL; in check_rs256_pubarea()
[all …]
/src/usr.bin/bmake/tests/archives/fmt_44bsd/
H A DMakefile8 ${PACKAGE}FILES+= expected.status.1
9 ${PACKAGE}FILES+= expected.status.2
10 ${PACKAGE}FILES+= expected.status.3
11 ${PACKAGE}FILES+= expected.status.4
12 ${PACKAGE}FILES+= expected.status.5
13 ${PACKAGE}FILES+= expected.status.6
14 ${PACKAGE}FILES+= expected.status.7
15 ${PACKAGE}FILES+= expected.stderr.1
16 ${PACKAGE}FILES+= expected.stderr.2
17 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/src/usr.bin/bmake/tests/archives/fmt_oldbsd/
H A DMakefile7 ${PACKAGE}FILES+= expected.status.1
8 ${PACKAGE}FILES+= expected.status.2
9 ${PACKAGE}FILES+= expected.status.3
10 ${PACKAGE}FILES+= expected.status.4
11 ${PACKAGE}FILES+= expected.status.5
12 ${PACKAGE}FILES+= expected.status.6
13 ${PACKAGE}FILES+= expected.status.7
14 ${PACKAGE}FILES+= expected.stderr.1
15 ${PACKAGE}FILES+= expected.stderr.2
16 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/src/usr.bin/bmake/tests/archives/fmt_44bsd_mod/
H A DMakefile8 ${PACKAGE}FILES+= expected.status.1
9 ${PACKAGE}FILES+= expected.status.2
10 ${PACKAGE}FILES+= expected.status.3
11 ${PACKAGE}FILES+= expected.status.4
12 ${PACKAGE}FILES+= expected.status.5
13 ${PACKAGE}FILES+= expected.status.6
14 ${PACKAGE}FILES+= expected.status.7
15 ${PACKAGE}FILES+= expected.stderr.1
16 ${PACKAGE}FILES+= expected.stderr.2
17 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/src/crypto/openssl/test/recipes/
H A D20-test_kdf.t20 expected => '8E:4D:93:25:30:D7:65:A0:AA:E9:74:C3:04:73:5E:CC',
23 expected => '65:6F:31:CB:04:03:D6:51:E2:E8:71:F8:20:04:AB:BA',
26 expected => '2a:c4:36:9f:52:59:96:f8:de:13',
29 expected => '34:8C:89:DB:CB:D3:2B:2F:32:D8:14:B8:11:6E:84:CF:2B:17:34:7E:BC:18:00:18:1C',
32expected => 'e9:c1:84:53:a0:62:b5:3b:db:fc:bb:5a:34:bd:b8:e5:e7:07:ee:bb:5d:d1:34:42:43:d8:cf:c2:c…
35 expected => '44:f6:76:e8:5c:1b:1a:8b:bc:3d:31:92:18:63:1c:a3',
38 expected => 'a4:62:de:16:a8:9d:e8:46:6e:f5:46:0b:47:b8',
41 expected => '5C:49:94:47:3B:B1:53:3A:58:EB:19:42:04:D3:78:16',
46 expected => '8E:4D:93:25:30:D7:65:A0:AA:E9:74:C3:04:73:5E:CC',
49 expected => '65:6F:31:CB:04:03:D6:51:E2:E8:71:F8:20:04:AB:BA',
[all …]
/src/tests/sys/sound/
H A Dpcm_read_write.c134 intpcm_t expected, result; in ATF_TC_BODY() local
145 expected = test->value; in ATF_TC_BODY()
147 ATF_CHECK_MSG(result == expected, in ATF_TC_BODY()
149 test->label, expected, result); in ATF_TC_BODY()
152 expected = local_calc_limit(test->value, test->size * 8); in ATF_TC_BODY()
154 ATF_CHECK_MSG(result == expected, in ATF_TC_BODY()
156 test->label, expected, result); in ATF_TC_BODY()
159 expected = local_normalize(test->value, test->size * 8, 32); in ATF_TC_BODY()
161 ATF_CHECK_MSG(result == expected, in ATF_TC_BODY()
163 test->label, expected, result); in ATF_TC_BODY()
[all …]
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_object_range_pos.ksh86 expected=$all_objects
88 log_must test "\n$actual\n" == "\n$expected\n"
91 expected=$all_objects
93 log_must test "\n$actual\n" == "\n$expected\n"
96 expected=$(grep "ZFS plain file" <<< $all_objects)
98 log_must test "\n$actual\n" == "\n$expected\n"
101 expected=$(grep "ZFS directory" <<< $all_objects)
103 log_must test "\n$actual\n" == "\n$expected\n"
106 expected=$(grep -e "ZFS directory" -e "ZFS plain file" <<< $all_objects)
108 log_must test "\n$actual\n" == "\n$expected\n"
[all …]
/src/usr.bin/posixmqcontrol/
H A Dposixmqcontroltest8x64.sh23 expected='MSGSIZE: 64'
25 if [ "$expected" != "$actual" ]; then
26 echo "EXPECTED: $expected"
30 expected='MAXMSG: 8'
32 if [ "$expected" != "$actual" ]; then
33 echo "EXPECTED: $expected"
37 expected='CURMSG: 0'
39 if [ "$expected" != "$actual" ]; then
40 echo "EXPECTED: $expected"
58 expected='CURMSG: 8'
[all …]
/src/tools/regression/poll/l/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN | POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/src/tools/regression/poll/7/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/src/tools/regression/poll/m/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/src/tools/regression/poll/n/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/src/tools/regression/poll/4/
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 not ok 9 FIFO state 0: expected clear; got set
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
10 not ok 9 FIFO state 0: expected 0; got POLLIN
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
/src/contrib/atf/atf-c/
H A Dmacros.h156 #define ATF_REQUIRE_EQ(expected, actual) \ argument
157 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s", #expected, #actual)
159 #define ATF_CHECK_EQ(expected, actual) \ argument
160 ATF_CHECK_MSG((expected) == (actual), "%s != %s", #expected, #actual)
162 #define ATF_REQUIRE_EQ_MSG(expected, actual, fmt, ...) \ argument
163 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s: " fmt, \
164 #expected, #actual, ##__VA_ARGS__)
166 #define ATF_CHECK_EQ_MSG(expected, actual, fmt, ...) \ argument
167 ATF_CHECK_MSG((expected) == (actual), "%s != %s: " fmt, \
168 #expected, #actual, ##__VA_ARGS__)
[all …]
/src/tests/sys/sys/
H A Dtime_test.c40 atf_check_nstosbt(sbintime_t expected, int64_t ns) { in atf_check_nstosbt() argument
43 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_nstosbt()
45 expected, ns, actual); in atf_check_nstosbt()
68 atf_check_ustosbt(sbintime_t expected, int64_t us) { in atf_check_ustosbt() argument
71 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_ustosbt()
73 expected, us, actual); in atf_check_ustosbt()
96 atf_check_mstosbt(sbintime_t expected, int64_t ms) { in atf_check_mstosbt() argument
99 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_mstosbt()
101 expected, ms, actual); in atf_check_mstosbt()
123 atf_check_sbttons(int64_t expected, sbintime_t sbt) { in atf_check_sbttons() argument
[all …]
/src/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c24 struct expected { struct
37 const struct expected *expected; argument
55 const struct expected *expected; in check() local
66 expected = ctx->expected + ctx->i++; in check()
70 if (ctx->match_host_p && expected->match_host_p) in check()
72 if (ctx->match_host_s && expected->match_host_s) in check()
74 if (ctx->match_ipv4 && expected->match_ipv4) in check()
76 if (ctx->match_ipv6 && expected->match_ipv6) in check()
79 expected_status = (parse_key || expected->no_parse_status < 0) ? in check()
80 expected->l.status : (u_int)expected->no_parse_status; in check()
[all …]
/src/usr.bin/bmake/tests/syntax/enl/
H A DMakefile8 ${PACKAGE}FILES+= expected.status.1
9 ${PACKAGE}FILES+= expected.status.2
10 ${PACKAGE}FILES+= expected.status.3
11 ${PACKAGE}FILES+= expected.status.4
12 ${PACKAGE}FILES+= expected.status.5
13 ${PACKAGE}FILES+= expected.stderr.1
14 ${PACKAGE}FILES+= expected.stderr.2
15 ${PACKAGE}FILES+= expected.stderr.3
16 ${PACKAGE}FILES+= expected.stderr.4
17 ${PACKAGE}FILES+= expected.stderr.5
[all …]

12345678910>>...49