Home
last modified time | relevance | path

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

/freebsd/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c128 ok_mode(const char *testname, const char *comment, int mode) in ok_mode() argument
133 printf("ok %d - %s # mode 0x%x\n", testnum, testname, mode); in ok_mode()
135 printf("ok %d - %s # mode 0x%x - %s\n", testnum, testname, in ok_mode()
140 notok_mode(const char *testname, const char *comment, int mode) in notok_mode() argument
145 printf("not ok %d - %s # mode 0x%x\n", testnum, testname, in notok_mode()
148 printf("not ok %d - %s # mode 0x%x - %s\n", testnum, testname, in notok_mode()
156 try_directory_open(const char *testname, const char *directory, in try_directory_open() argument
164 notok_mode(testname, "opened", mode); in try_directory_open()
166 ok_mode(testname, NULL, mode); in try_directory_open()
170 ok_mode(testname, NULL, mode); in try_directory_open()
[all …]
/freebsd/tools/regression/sockets/sigpipe/
H A Dsigpipe.c77 signal_setup(const char *testname) in signal_setup() argument
82 err(-1, "%s: signal(SIGPIPE)", testname); in signal_setup()
86 test_send(const char *testname, int sock) in test_send() argument
96 err(-1, "%s: send", testname); in test_send()
98 errx(-1, "%s: send: returned %zd", testname, len); in test_send()
102 test_write(const char *testname, int sock) in test_write() argument
112 err(-1, "%s: write", testname); in test_write()
114 errx(-1, "%s: write: returned %zd", testname, len); in test_write()
118 test_send_wantsignal(const char *testname, int sock1, int sock2) in test_send_wantsignal() argument
122 err(-1, "%s: shutdown", testname); in test_send_wantsignal()
[all …]
/freebsd/tests/sys/fifo/
H A Dfifo_create.c94 const char *testname; in fifo_create_test() local
99 testname = "mkfifo"; in fifo_create_test()
101 testname = "mknod"; in fifo_create_test()
108 err(-1, "basic_create_test: %s: stat: %s", testname, in fifo_create_test()
115 err(-1, "basic_create_test: %s: %s", testname, path); in fifo_create_test()
118 err(-1, "basic_create_test: %s: %s", testname, path); in fifo_create_test()
125 err(-1, "basic_create_test: %s: stat: %s", testname, path); in fifo_create_test()
131 testname); in fifo_create_test()
137 testname); in fifo_create_test()
141 testname); in fifo_create_test()
[all …]
H A Dfifo_io.c99 makefifo(const char *fifoname, const char *testname) in makefifo() argument
103 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname); in makefifo()
168 set_nonblocking(int fd, const char *testname) in set_nonblocking() argument
174 warn("%s: fcntl(fd, F_GETFL)", testname); in set_nonblocking()
181 warn("%s: fcntl(fd, 0x%x)", testname, flags); in set_nonblocking()
189 set_blocking(int fd, const char *testname) in set_blocking() argument
195 warn("%s: fcntl(fd, F_GETFL)", testname); in set_blocking()
202 warn("%s: fcntl(fd, 0x%x)", testname, flags); in set_blocking()
214 drain_fd(int fd, const char *testname) in drain_fd() argument
219 if (set_nonblocking(fd, testname) < 0) in drain_fd()
[all …]
H A Dfifo_misc.c62 makefifo(const char *fifoname, const char *testname) in makefifo() argument
66 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname); in makefifo()
151 test_ioctl_setclearflag(int fd, unsigned long flag, const char *testname, in test_ioctl_setclearflag() argument
158 warn("%s:%s: ioctl(%s, %s, 1)", testname, __func__, fdname, in test_ioctl_setclearflag()
166 warn("%s:%s: ioctl(%s, %s, 0)", testname, __func__, fdname, in test_ioctl_setclearflag()
/freebsd/crypto/openssl/test/
H A Dssl_test.tmpl1 [{-$testname-}]
2 ssl_conf = {-$testname-}-ssl
4 [{-$testname-}-ssl]
5 server = {-$testname-}-server
6 client = {-$testname-}-client{-
10 $OUT .= "\nserver2 = $testname-server2";
12 $OUT .= "\nserver2 = $testname-server";
15 $OUT .= "\nresume-server = $testname-resume-server";
17 $OUT .= "\nresume-server = $testname-server";
20 $OUT .= "\nresume-client = $testname-resume-client";
[all …]
H A Dgenerate_ssl_tests.pl117 my $testname = "${idx}-" . $test->{'name'};
118 print "test-$idx = $testname\n";
125 my $testname = "${idx}-" . $test->{'name'};
127 HASH => [{ idx => $idx, testname => $testname } , $test],
/freebsd/crypto/heimdal/lib/roken/
H A Dtest-mem.c67 char *testname; variable
78 (void)write(fd, testname, strlen(testname)); in segv_handler()
86 if (testname) \
87 errx(1, "test %s run recursively on %s", name, testname); \
88 testname = strdup(name); \
89 if (testname == NULL) \
184 if (testname == NULL) in rk_test_mem_free()
188 errx(1, "%s: %s underrun %x\n", testname, map_name, p[0]); in rk_test_mem_free()
190 errx(1, "%s: %s overrun %x\n", testname, map_name, p[map.size - 1]); in rk_test_mem_free()
195 if (testname == NULL) in rk_test_mem_free()
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dtest.c60 sm_test_begin(argc, argv, testname) in sm_test_begin() argument
63 char *testname;
83 (void) fprintf(stdout, Help, argv[0], testname);
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dnvlist_to_lua.c85 test(const char *testname, boolean_t expect_success, boolean_t expect_match) in test() argument
91 (void) printf("\nrunning test '%s'; input:\n", testname); in test()
112 "case: %s\n", testname); in test()
117 (void) printf("unexpected FAIL of case: %s\n", testname); in test()
/freebsd/crypto/openssl/test/testutil/
H A Ddriver.c137 static int check_single_test_params(char *name, char *testname, char *itname) in check_single_test_params() argument
160 testname, 1, num_tests); in check_single_test_params()
191 char *testname = NULL; in process_shared_options() local
209 testname = opt_arg(); in process_shared_options()
229 if (!check_single_test_params(testname, flag_test, flag_iter)) in process_shared_options()
/freebsd/contrib/libucl/python/tests/
H A Dtest_validation.py46 testname = os.path.splitext(os.path.basename(jsonfile))[0]
47 setattr(cls, 'test_%s' % testname, test_gen(jsonfile))
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_dirs_test.cc51 explicit MakeTempDir(const std::string& testname) { in MakeTempDir() argument
54 std::string pattern = "/tmp/" + testname + "_XXXXXX"; in MakeTempDir()
/freebsd/contrib/expat/tests/
H A Dminicheck.h77 # define START_TEST(testname) \ argument
78 static void testname(void) { \
/freebsd/tools/regression/sockets/unix_gc/
H A Dunix_gc.c302 twosome_drop_work(const char *testname, int sendvia, int tosend, int closefirst) in twosome_drop_work() argument
307 printf("%s\n", testname); in twosome_drop_work()
308 test = testname; in twosome_drop_work()
449 fivesome_drop_work(const char *testname, int close_spare_after_send, in fivesome_drop_work() argument
455 printf("%s\n", testname); in fivesome_drop_work()
456 test = testname; in fivesome_drop_work()
/freebsd/crypto/openssl/test/recipes/
H A D70-test_tlsextms.t209 my ($testno, $testname, $testcextms, $testsextms, $testhand) = @_;
211 subtest $testname => sub {
H A D70-test_sslsessiontick.t220 my ($testno, $testname, $testch, $testsh, $testtickseen, $testhand) = @_;
222 subtest $testname => sub {
/freebsd/crypto/openssl/util/perl/
H A Dcheckhandshake.pm65 my ($proxy, $handtype, $exttype, $testname) = @_;
67 subtest $testname => sub {
/freebsd/tools/regression/sockets/kqueue/
H A Dkqueue.c56 #define OK(testname) printf("ok %d - %s\n", curtest, testname); \ argument
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_pax_filename_encoding.c45 static const char testname[] = "test_pax_filename_encoding.tar"; in test_pax_filename_encoding_1() local
57 extract_reference_file(testname); in test_pax_filename_encoding_1()
62 archive_read_open_filename(a, testname, 10240)); in test_pax_filename_encoding_1()
/freebsd/lib/libc/tests/secure/
H A Dgenerate-fortify-tests.lua1225 local testname = generate_test_name(func, def.variant, disposition, heap)
1346 return write_test_boilerplate(fh, testname, body, def)
/freebsd/lib/libcasper/services/cap_net/
H A Dcap_net.c713 const char *testname, *testsrvname; in net_allowed_hosts() local
725 testname = (name == NULL ? "" : name); in net_allowed_hosts()
730 strcmp(cnvlist_name(cookie), testname) != 0) { in net_allowed_hosts()
/freebsd/crypto/openssh/regress/
H A Dtest-exec.sh518 testname=`echo $tid | tr ' ' _`
519 tarname="$OBJ/failed-$testname-logs.tar"
H A DREADME.regress148 - run the individual test via ./test-exec.sh `pwd` [testname]
/freebsd/contrib/flex/
H A DChangeLog1279 … files, not just a single one - the input directory is used to find the testname tables which are …
3585 instead of just the testname for the executable
6480 Added top_builddir to -I path. Changed $(srcdir)/$(testname) to
6481 ./$(testname) in 'make test' rule.