/freebsd/tools/regression/security/open_to_operation/ |
H A D | open_to_operation.c | 128 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 D | sigpipe.c | 77 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 D | fifo_create.c | 94 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 D | fifo_io.c | 99 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 D | fifo_misc.c | 62 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 D | ssl_test.tmpl | 1 [{-$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 D | generate_ssl_tests.pl | 117 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 D | test-mem.c | 67 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 D | test.c | 60 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 D | nvlist_to_lua.c | 85 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 D | driver.c | 137 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 D | test_validation.py | 46 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 D | gtest_dirs_test.cc | 51 explicit MakeTempDir(const std::string& testname) { in MakeTempDir() argument 54 std::string pattern = "/tmp/" + testname + "_XXXXXX"; in MakeTempDir()
|
/freebsd/contrib/expat/tests/ |
H A D | minicheck.h | 77 # define START_TEST(testname) \ argument 78 static void testname(void) { \
|
/freebsd/tools/regression/sockets/unix_gc/ |
H A D | unix_gc.c | 302 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 D | 70-test_tlsextms.t | 209 my ($testno, $testname, $testcextms, $testsextms, $testhand) = @_; 211 subtest $testname => sub {
|
H A D | 70-test_sslsessiontick.t | 220 my ($testno, $testname, $testch, $testsh, $testtickseen, $testhand) = @_; 222 subtest $testname => sub {
|
/freebsd/crypto/openssl/util/perl/ |
H A D | checkhandshake.pm | 65 my ($proxy, $handtype, $exttype, $testname) = @_; 67 subtest $testname => sub {
|
/freebsd/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 56 #define OK(testname) printf("ok %d - %s\n", curtest, testname); \ argument
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_pax_filename_encoding.c | 45 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 D | generate-fortify-tests.lua | 1225 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 D | cap_net.c | 713 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 D | test-exec.sh | 518 testname=`echo $tid | tr ' ' _` 519 tarname="$OBJ/failed-$testname-logs.tar"
|
H A D | README.regress | 148 - run the individual test via ./test-exec.sh `pwd` [testname]
|
/freebsd/contrib/flex/ |
H A D | ChangeLog | 1279 … 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.
|