Home
last modified time | relevance | path

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

12345678910>>...37

/freebsd-13.1/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
83 …TEST_ASSERT_EQUAL_UINT(expected, actual) UNITY_T… argument
88 …TEST_ASSERT_EQUAL_HEX(expected, actual) UNITY_T… argument
117 … TEST_ASSERT_EQUAL_PTR(expected, actual) UNITY_… argument
118 …EST_ASSERT_EQUAL_STRING(expected, actual) UNITY_TE… 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,
505 const _UD expected,
670 …T(expected, actual, line, message) UNITY_TEST_ASSERT_FLOAT_WITHIN((_UF)( argument
[all …]
/freebsd-13.1/crypto/openssh/regress/unittests/authopt/
H A Dtests.c111 if (expected->x == NULL) \ in compare_opts()
125 if (expected->nx == 0) \ in compare_opts()
206 expected->var = val; \ in test_authkeys_parse()
210 expected->var = val; \ in test_authkeys_parse()
261 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
266 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
308 expected->var = 0; \ in test_cert_parse()
316 expected->var = 1; \ in test_cert_parse()
390 expected = NULL; \ in test_merge()
428 expected->var = val; \ in test_merge()
[all …]
/freebsd-13.1/usr.bin/bmake/tests/archives/fmt_44bsd/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.status.4
14 ${PACKAGE}FILES+= expected.status.5
15 ${PACKAGE}FILES+= expected.status.6
16 ${PACKAGE}FILES+= expected.status.7
17 ${PACKAGE}FILES+= expected.stderr.1
18 ${PACKAGE}FILES+= expected.stderr.2
19 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/freebsd-13.1/usr.bin/bmake/tests/archives/fmt_44bsd_mod/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.status.4
14 ${PACKAGE}FILES+= expected.status.5
15 ${PACKAGE}FILES+= expected.status.6
16 ${PACKAGE}FILES+= expected.status.7
17 ${PACKAGE}FILES+= expected.stderr.1
18 ${PACKAGE}FILES+= expected.stderr.2
19 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/freebsd-13.1/usr.bin/bmake/tests/archives/fmt_oldbsd/
H A DMakefile9 ${PACKAGE}FILES+= expected.status.1
10 ${PACKAGE}FILES+= expected.status.2
11 ${PACKAGE}FILES+= expected.status.3
12 ${PACKAGE}FILES+= expected.status.4
13 ${PACKAGE}FILES+= expected.status.5
14 ${PACKAGE}FILES+= expected.status.6
15 ${PACKAGE}FILES+= expected.status.7
16 ${PACKAGE}FILES+= expected.stderr.1
17 ${PACKAGE}FILES+= expected.stderr.2
18 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/freebsd-13.1/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"
98 log_must test "\n$actual\n" == "\n$expected\n"
103 log_must test "\n$actual\n" == "\n$expected\n"
108 log_must test "\n$actual\n" == "\n$expected\n"
113 log_must test "\n$actual\n" == "\n$expected\n"
144 expected="$objects"
146 log_must test "$actual" == "$expected"
[all …]
/freebsd-13.1/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
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
13 ok 12 FIFO state 2a: expected 0; got 0
14 not ok 13 FIFO state 3: expected POLLHUP; got 0
15 ok 14 FIFO state 4: expected 0; got 0
18 not ok 17 FIFO state 6a: expected POLLHUP; 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
12 ok 11 FIFO state 2: expected set; got set
16 ok 15 FIFO state 5: expected set; got set
[all …]
/freebsd-13.1/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
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
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: 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
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-13.1/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
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
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: 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
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-13.1/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
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
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: 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
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-13.1/tools/regression/poll/4/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 not ok 9 FIFO state 0: expected 0; got POLLIN
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
[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
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-13.1/usr.bin/bmake/tests/syntax/enl/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.status.4
14 ${PACKAGE}FILES+= expected.status.5
15 ${PACKAGE}FILES+= expected.stderr.1
16 ${PACKAGE}FILES+= expected.stderr.2
17 ${PACKAGE}FILES+= expected.stderr.3
18 ${PACKAGE}FILES+= expected.stderr.4
19 ${PACKAGE}FILES+= expected.stderr.5
[all …]
/freebsd-13.1/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c25 struct expected { struct
38 const struct expected *expected; argument
56 const struct expected *expected; in check() local
67 expected = ctx->expected + ctx->i++; in check()
81 expected->l.status : (u_int)expected->no_parse_status; in check()
91 expected->l.keytype : expected->no_parse_keytype; in check()
122 if (expected->l.line != NULL) in check()
148 prepare_expected(struct expected *expected, size_t n) in prepare_expected() argument
168 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
174 cleanup_expected(struct expected *expected, size_t n) in cleanup_expected() argument
[all …]
/freebsd-13.1/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)
170 #define ATF_REQUIRE_STREQ(expected, actual) \ argument
172 #expected, #actual, expected, actual)
174 #define ATF_CHECK_STREQ(expected, actual) \ argument
176 #expected, #actual, expected, actual)
181 #expected, #actual, expected, actual, ##__VA_ARGS__)
184 ATF_CHECK_MSG(strcmp(expected, actual) == 0, \
[all …]
/freebsd-13.1/sys/contrib/libsodium/test/default/
H A Dkdf.exp11 Failure -- probably expected for output length=0
12 Failure -- probably expected for output length=1
13 Failure -- probably expected for output length=2
14 Failure -- probably expected for output length=3
15 Failure -- probably expected for output length=4
16 Failure -- probably expected for output length=5
17 Failure -- probably expected for output length=6
18 Failure -- probably expected for output length=7
19 Failure -- probably expected for output length=8
20 Failure -- probably expected for output length=9
[all …]
/freebsd-13.1/tests/sys/devrandom/
H A Duint128_test.c107 uint32_t expected[4]; in ATF_TC_BODY() member
112 .expected = { 1, 0, 0, 0 }, in ATF_TC_BODY()
117 .expected = { 2, 0, 0, 0 }, in ATF_TC_BODY()
127 .expected = { 0, 1, 0, 0 }, in ATF_TC_BODY()
132 .expected = { 0, 0, 1, 0 }, in ATF_TC_BODY()
137 .expected = { 0, 0, 0, 1 }, in ATF_TC_BODY()
161 uint32_t expected[4]; in ATF_TC_BODY() member
167 .expected = { 1, 0, 0, 0 }, in ATF_TC_BODY()
173 .expected = { 0, 1, 0, 0 }, in ATF_TC_BODY()
179 .expected = { 0, 0, 1, 0 }, in ATF_TC_BODY()
[all …]
/freebsd-13.1/contrib/kyua/cli/
H A Dcmd_help_test.cpp159 std::vector< std::string > expected; in global_test() local
162 expected.push_back(""); in global_test()
166 expected.push_back(""); in global_test()
171 expected.push_back(""); in global_test()
175 expected.push_back(""); in global_test()
176 expected.push_back("First commands:"); in global_test()
179 expected.push_back(""); in global_test()
180 expected.push_back("Second commands:"); in global_test()
182 expected.push_back(""); in global_test()
185 ATF_REQUIRE(expected == ui.out_log()); in global_test()
[all …]
/freebsd-13.1/tests/sys/cddl/zfs/tests/inheritance/
H A Dinherit.kshlib65 typeset expected=$3
76 if [[ $expected == "default" ]]; then
77 if [[ $prop_src != $expected ]]; then
79 " $prop_src rather than $expected"
82 elif [[ $expected == "local" ]]; then
83 if [[ $prop_src != $expected ]]; then
85 " $prop_src rather than $expected"
88 elif [[ $prop_src != "inherited from $expected" ]]; then
89 log_note "Property $prop of $expected has source $prop_src"\
90 " rather than 'inherited from $expected'"
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/
H A Dinherit.kshlib64 typeset expected=$3
75 if [[ $expected == "default" ]]; then
76 if [[ $prop_src != $expected ]]; then
78 " $prop_src rather than $expected"
81 elif [[ $expected == "local" ]]; then
82 if [[ $prop_src != $expected ]]; then
84 " $prop_src rather than $expected"
87 elif [[ $prop_src != "inherited from $expected" ]]; then
88 log_note "Property $prop of $expected has source $prop_src"\
89 " rather than 'inherited from $expected'"

12345678910>>...37