| /freebsd-14.2/contrib/ntp/sntp/unity/ |
| H A D | unity.h | 76 … 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 D | unity_internals.h | 436 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, 673 …T(expected, actual, line, message) UNITY_TEST_ASSERT_FLOAT_WITHIN((_UF)(… argument [all …]
|
| /freebsd-14.2/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 110 if (expected->x == NULL) \ in compare_opts() 124 if (expected->nx == 0) \ in compare_opts() 205 expected->var = val; \ in test_authkeys_parse() 209 expected->var = val; \ in test_authkeys_parse() 260 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse() 265 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse() 307 expected->var = 0; \ in test_cert_parse() 315 expected->var = 1; \ in test_cert_parse() 389 expected = NULL; \ in test_merge() 427 expected->var = val; \ in test_merge() [all …]
|
| /freebsd-14.2/contrib/libfido2/src/ |
| H A D | tpm.c | 238 memset(&expected, 0, sizeof(expected)); in check_rs256_pubarea() 245 expected.policy.size = sizeof(expected.policy.body); in check_rs256_pubarea() 250 expected.key.size = sizeof(expected.key.body); in check_rs256_pubarea() 255 explicit_bzero(&expected, sizeof(expected)); in check_rs256_pubarea() 273 memset(&expected, 0, sizeof(expected)); in check_es256_pubarea() 280 expected.policy.size = sizeof(expected.policy.body); in check_es256_pubarea() 285 expected.point.x.size = sizeof(expected.point.x.body); in check_es256_pubarea() 292 explicit_bzero(&expected, sizeof(expected)); in check_es256_pubarea() 321 memset(&expected, 0, sizeof(expected)); in check_sha1_certinfo() 325 expected.signer.size = sizeof(expected.signer.alg) + in check_sha1_certinfo() [all …]
|
| /freebsd-14.2/usr.bin/bmake/tests/archives/fmt_44bsd_mod/ |
| H A D | Makefile | 9 ${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-14.2/usr.bin/bmake/tests/archives/fmt_oldbsd/ |
| H A D | Makefile | 8 ${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 …]
|
| /freebsd-14.2/usr.bin/bmake/tests/archives/fmt_44bsd/ |
| H A D | Makefile | 9 ${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-14.2/crypto/openssl/test/recipes/ |
| H A D | 20-test_kdf.t | 20 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', 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', 52 expected => '2a:c4:36:9f:52:59:96:f8:de:13', 64 expected => 'a4:62:de:16:a8:9d:e8:46:6e:f5:46:0b:47:b8', 67 expected => '5C:49:94:47:3B:B1:53:3A:58:EB:19:42:04:D3:78:16', [all …]
|
| H A D | 20-test_dgst.t | 164 …ok($macdata[0] =~ $expected, "SHA1: Check HASH value is as expected ($macdata[0]) vs ($expected)"); 177 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)… 178 ok($hmacdata[1] =~ $expected, 191 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)… 192 ok($hmacdata[1] =~ $expected, 206 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)… 207 ok($hmacdata[1] =~ $expected, 220 …ok($xofdata[0] =~ $expected, "XOF: Check digest value is as expected ($xofdata[0]) vs ($expected)"… 221 ok($xofdata[1] =~ $expected, 231 my $expected = qr/SHAKE-128\(\Q$testdata\E\)= bb565dac72640109e1c926ef441d3fa6/; [all …]
|
| /freebsd-14.2/usr.bin/posixmqcontrol/ |
| H A D | posixmqcontroltest8x64.sh | 23 expected='MSGSIZE: 64' 26 echo "EXPECTED: $expected" 30 expected='MAXMSG: 8' 33 echo "EXPECTED: $expected" 37 expected='CURMSG: 0' 40 echo "EXPECTED: $expected" 58 expected='CURMSG: 8' 61 echo "EXPECTED: $expected" 75 echo "EXPECTED: $expected" 85 expected='CURMSG: 0' [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
| H A D | zdb_object_range_pos.ksh | 85 expected=$all_objects 87 log_must test "\n$actual\n" == "\n$expected\n" 90 expected=$all_objects 92 log_must test "\n$actual\n" == "\n$expected\n" 97 log_must test "\n$actual\n" == "\n$expected\n" 102 log_must test "\n$actual\n" == "\n$expected\n" 107 log_must test "\n$actual\n" == "\n$expected\n" 112 log_must test "\n$actual\n" == "\n$expected\n" 143 expected="$objects" 145 log_must test "${actual% }" == "$expected" [all …]
|
| /freebsd-14.2/tools/regression/poll/m/ |
| H A D | pipepoll.out | 2 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 D | pipeselect.out | 2 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-14.2/tools/regression/poll/n/ |
| H A D | pipepoll.out | 2 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 D | pipeselect.out | 2 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-14.2/tools/regression/poll/l/ |
| H A D | pipepoll.out | 2 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 D | pipeselect.out | 2 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-14.2/tools/regression/poll/7/ |
| H A D | pipepoll.out | 2 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 D | pipeselect.out | 2 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-14.2/tools/regression/poll/4/ |
| H A D | pipeselect.out | 2 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 …]
|
| H A D | pipepoll.out | 2 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 …]
|
| /freebsd-14.2/tests/sys/sys/ |
| H A D | time_test.c | 43 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_nstosbt() 45 expected, ns, actual); in atf_check_nstosbt() 71 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_ustosbt() 73 expected, us, actual); in atf_check_ustosbt() 99 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_mstosbt() 101 expected, ms, actual); in atf_check_mstosbt() 126 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_sbttons() 128 expected, sbt, actual); in atf_check_sbttons() 155 ATF_CHECK_MSG((expected) - 1 <= (actual) && actual <= (expected) + 1, in atf_check_sbttous() 157 expected, sbt, actual); in atf_check_sbttous() [all …]
|
| /freebsd-14.2/contrib/atf/atf-c/ |
| H A D | macros.h | 156 #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) 171 const char *_atf_expected = (expected); \ 179 const char *_atf_expected = (expected); \ 187 const char *_atf_expected = (expected); \ 203 intmax_t _atf_expected = (expected); \ 211 intmax_t _atf_expected = (expected); \ 219 intmax_t _atf_expected = (expected); \ [all …]
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | evp_test.c | 771 if (expected->aead && !expected->tls_aad) { in cipher_test_enc() 875 if (expected->aad[0] != NULL && !expected->tls_aad) { in cipher_test_enc() 984 if (enc && expected->aead && !expected->tls_aad) { in cipher_test_enc() 1328 OBJ_nid2sn(expected->type), expected->alg); in mac_test_run_pkey() 1437 expected->mac_name, expected->alg); in mac_test_run_mac() 1812 if (expected->keyop(expected->ctx, NULL, &got_len, in pkey_test_run() 1818 if (expected->keyop(expected->ctx, got, &got_len, in pkey_test_run() 1843 if (expected->keyop(copy, got, &got_len, expected->input, in pkey_test_run() 2224 expected->iter, expected->md, in pbe_test_run() 2233 expected->N, expected->r, expected->p, in pbe_test_run() [all …]
|
| /freebsd-14.2/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 24 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() 80 expected->l.status : (u_int)expected->no_parse_status; in check() 90 expected->l.keytype : expected->no_parse_keytype; in check() 126 if (expected->l.line != NULL) in check() 152 prepare_expected(struct expected *expected, size_t n) in prepare_expected() argument 176 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected() 182 cleanup_expected(struct expected *expected, size_t n) in cleanup_expected() argument [all …]
|