| /freebsd-13.1/tools/regression/security/open_to_operation/ |
| H A D | open_to_operation.c | 169 ok_mode(testname, NULL, mode); in try_directory_open() 173 ok_mode(testname, NULL, mode); in try_directory_open() 220 ok_mode(testname, NULL, mode); in check_dup() 246 ok_mode(testname, NULL, mode); in check_dup2() 271 ok_mode(testname, NULL, mode); in check_fchdir() 295 ok_mode(testname, NULL, mode); in check_fchflags() 319 ok_mode(testname, NULL, mode); in check_fchmod() 343 ok_mode(testname, NULL, mode); in check_fchown() 367 ok_mode(testname, NULL, mode); in check_flock() 393 ok_mode(testname, NULL, mode); in check_fpathconf() [all …]
|
| /freebsd-13.1/tools/regression/sockets/sigpipe/ |
| H A D | sigpipe.c | 79 signal_setup(const char *testname) in signal_setup() argument 98 err(-1, "%s: send", testname); in test_send() 114 err(-1, "%s: write", testname); in test_write() 125 signal_setup(testname); in test_send_wantsignal() 126 test_send(testname, sock2); in test_send_wantsignal() 144 signal_setup(testname); in test_send_dontsignal() 145 test_send(testname, sock2); in test_send_dontsignal() 159 signal_setup(testname); in test_write_wantsignal() 160 test_write(testname, sock2); in test_write_wantsignal() 178 signal_setup(testname); in test_write_dontsignal() [all …]
|
| /freebsd-13.1/tests/sys/fifo/ |
| H A D | fifo_create.c | 96 const char *testname; in fifo_create_test() local 101 testname = "mkfifo"; in fifo_create_test() 103 testname = "mknod"; in fifo_create_test() 133 testname); in fifo_create_test() 139 testname); in fifo_create_test() 143 testname); in fifo_create_test() 148 testname); in fifo_create_test() 175 testname); in fifo_create_test() 178 testname); in fifo_create_test() 207 const char *testname; in fifo_permission_test() local [all …]
|
| H A D | fifo_io.c | 176 warn("%s: fcntl(fd, F_GETFL)", testname); in set_nonblocking() 191 set_blocking(int fd, const char *testname) in set_blocking() argument 216 drain_fd(int fd, const char *testname) in drain_fd() argument 221 if (set_nonblocking(fd, testname) < 0) in drain_fd() 230 warn("%s: drain_fd: read", testname); in drain_fd() 865 const char *testname) in poll_status() argument 874 warn("%s: poll", testname); in poll_status() 885 const char *testname) in select_status() argument 899 warn("%s: select", testname); in select_status() 990 warn("%s: ioctl(FIONREAD)", testname); in fionread_status() [all …]
|
| H A D | fifo_misc.c | 64 makefifo(const char *fifoname, const char *testname) in makefifo() argument 68 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname); in makefifo() 153 test_ioctl_setclearflag(int fd, unsigned long flag, const char *testname, in test_ioctl_setclearflag() argument 160 warn("%s:%s: ioctl(%s, %s, 1)", testname, __func__, fdname, in test_ioctl_setclearflag() 168 warn("%s:%s: ioctl(%s, %s, 0)", testname, __func__, fdname, in test_ioctl_setclearflag()
|
| /freebsd-13.1/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() 195 if (testname == NULL) in rk_test_mem_free() 204 free(testname); in rk_test_mem_free() [all …]
|
| /freebsd-13.1/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-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/nvlist_to_lua/ |
| H A D | nvlist_to_lua.c | 86 test(const char *testname, boolean_t expect_success, boolean_t expect_match) in test() argument 92 (void) printf("\nrunning test '%s'; input:\n", testname); in test() 113 "case: %s\n", testname); in test() 118 (void) printf("unexpected FAIL of case: %s\n", testname); in test()
|
| /freebsd-13.1/contrib/expat/tests/ |
| H A D | minicheck.h | 59 #define START_TEST(testname) \ argument 60 static void testname(void) { \
|
| /freebsd-13.1/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-13.1/contrib/apr-util/test/ |
| H A D | abts.c | 31 static int find_test_name(const char *testname) { in find_test_name() argument 34 if (!strcmp(testlist[i], testname)) { in find_test_name() 42 static int should_test_run(const char *testname) { in should_test_run() argument 50 found = find_test_name(testname); in should_test_run()
|
| /freebsd-13.1/tools/regression/sockets/unix_gc/ |
| H A D | unix_gc.c | 304 twosome_drop_work(const char *testname, int sendvia, int tosend, int closefirst) in twosome_drop_work() argument 309 printf("%s\n", testname); in twosome_drop_work() 310 test = testname; in twosome_drop_work() 451 fivesome_drop_work(const char *testname, int close_spare_after_send, in fivesome_drop_work() argument 457 printf("%s\n", testname); in fivesome_drop_work() 458 test = testname; in fivesome_drop_work()
|
| /freebsd-13.1/tools/regression/sockets/kqueue/ |
| H A D | kqueue.c | 58 #define OK(testname) printf("ok %d - %s\n", curtest, testname); \ argument
|
| /freebsd-13.1/contrib/libarchive/libarchive/test/ |
| H A D | test_pax_filename_encoding.c | 46 static const char testname[] = "test_pax_filename_encoding.tar"; in test_pax_filename_encoding_1() local 58 extract_reference_file(testname); in test_pax_filename_encoding_1() 63 archive_read_open_filename(a, testname, 10240)); in test_pax_filename_encoding_1()
|
| /freebsd-13.1/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-13.1/crypto/openssh/regress/ |
| H A D | README.regress | 148 - run the individual test via ./test-exec.sh `pwd` [testname]
|
| /freebsd-13.1/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.
|