Home
last modified time | relevance | path

Searched refs:test_num (Results 1 – 11 of 11) sorted by relevance

/freebsd/tests/sys/mac/bsdextended/
H A Dugidfw_test.c72 static int test_num; variable
153 for (i = 0; i < nitems(test_users); i++, test_num++) { in test_libugidfw_strings()
156 "failed: %s\n", test_num, test_users[i], strerror(errno)); in test_libugidfw_strings()
158 printf("ok %d\n", test_num); in test_libugidfw_strings()
161 for (i = 0; i < nitems(test_groups); i++, test_num++) { in test_libugidfw_strings()
164 "failed: %s\n", test_num, test_groups[i], strerror(errno)); in test_libugidfw_strings()
166 printf("ok %d\n", test_num); in test_libugidfw_strings()
174 "failed: %s\n", test_num, test_strings[i], i, errorstr); in test_libugidfw_strings()
176 printf("ok %d\n", test_num); in test_libugidfw_strings()
177 test_num++; in test_libugidfw_strings()
[all …]
/freebsd/share/examples/tests/tests/tap/
H A Dprintf_test.c48 static int test_num = 1; variable
64 printf("not ok %d - %s\n", test_num, msg); in fail()
67 test_num++; in fail()
74 printf("ok %d\n", test_num); in pass()
75 test_num++; in pass()
84 printf("not ok %d # SKIP\n", test_num); in skip()
85 test_num++; in skip()
H A Dcp_test.sh36 test_num=1
44 result_string="$result $test_num"
49 : $(( test_num += 1 ))
/freebsd/tools/regression/sockets/sendfile/
H A Dsendfile.c377 int test_num; in run_parent() local
402 for (test_num = 1; test_num <= test_count; test_num++) { in run_parent()
404 desired_file_size = tests[test_num - 1].file_size; in run_parent()
408 printf("not ok %d\n", test_num); in run_parent()
414 printf("not ok %d\n", test_num); in run_parent()
424 printf("not ok %d\n", test_num); in run_parent()
430 if (send_test(connect_socket, tests[test_num-1]) != 0) { in run_parent()
431 printf("not ok %d\n", test_num); in run_parent()
440 printf("%s %d\n", "ok", test_num); in run_parent()
442 printf("%s %d\n", "not ok", test_num); in run_parent()
[all …]
/freebsd/contrib/bc/scripts/
H A Dkaratsuba.py79 test_num = int(sys.argv[2]) variable
81 test_num = 0 variable
149 if test_num != 0:
150 mx2 = test_num
174 if (test_num >= i):
208 elif test_num == 0:
241 if test_num == 0:
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c346 #define PARAMETERS_SANITY_CHECK(test_num, param_types, param_io) do {\ argument
351 printf("Error: types parameters of test %d mismatch!\n", test_num);\
355 printf("Error: I/O parameters of test %d mismatch!\n", test_num);\
359 printf("Error: types and I/O parameters of test %d mismatch!\n", test_num);\
368 printf("Error: multiple function output defined in I/O parameters of test %d!\n", test_num);\
497 int test_##test_name(const char ATTRIBUTE_UNUSED *op, void **params, int test_num);\
498 int test_##test_name(const char ATTRIBUTE_UNUSED *op, void **params, int test_num){\
526 PARAMETERS_SANITY_CHECK(test_num, parameters_types, parameters_io);\
569 printf("[-] Test %d (%s): result mismatch\n", test_num, op_string);\
580 printf("[-] Test %d (%s): result mismatch\n", test_num, op_string);\
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc965 for (int test_num = 0; test_num < test_suite->total_test_count(); in TEST() local
966 ++test_num) { in TEST()
967 const ::testing::TestInfo* test_info = test_suite->GetTestInfo(test_num); in TEST()
/freebsd/contrib/libarchive/libarchive/test/
H A Dmain.c3139 int test_num; in main() local
3141 test_num = get_test_set(test_set, limit, *argv, tests); in main()
3142 if (test_num < 0) { in main()
3149 for (i = 0; i < test_num; i++) { in main()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_main.c4266 int test_num; in main() local
4268 test_num = get_test_set(test_set, limit, *argv); in main()
4269 if (test_num < 0) { in main()
4275 for (i = 0; i < test_num; i++) { in main()
/freebsd/crypto/libecc/scripts/
H A Dexpand_libecc.py1072 for test_num in range(0, num):
1082 … test_name = sig_alg_name + "_" + hashfunc_name + "_" + curve.name.upper() + "_" + str(test_num)
/freebsd/crypto/openssl/apps/
H A Dspeed.c1782 #define stop_it(do_it, test_num)\ argument
1783 memset(do_it + test_num, 0, OSSL_NELEM(do_it) - test_num);