Searched refs:testname (Results 1 - 12 of 12) sorted by relevance

/freebsd-10.0-release/tools/regression/fifo/fifo_create/
H A Dfifo_create.c96 const char *testname; local
101 testname = "mkfifo";
103 testname = "mknod";
110 err(-1, "basic_create_test: %s: stat: %s", testname,
119 err(-1, "basic_create_test: %s: %s", testname, path);
122 err(-1, "basic_create_test: %s: %s", testname, path);
129 err(-1, "basic_create_test: %s: stat: %s", testname, path);
135 testname);
141 testname);
145 testname);
209 const char *testname; local
[all...]
/freebsd-10.0-release/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c131 ok_mode(const char *testname, const char *comment, int mode) argument
136 printf("ok %d - %s # mode 0x%x\n", testnum, testname, mode);
138 printf("ok %d - %s # mode 0x%x - %s\n", testnum, testname,
143 notok_mode(const char *testname, const char *comment, int mode) argument
148 printf("not ok %d - %s # mode 0x%x\n", testnum, testname,
151 printf("not ok %d - %s # mode 0x%x - %s\n", testnum, testname,
159 try_directory_open(const char *testname, const char *directory, argument
167 notok_mode(testname, "opened", mode);
169 ok_mode(testname, NULL, mode);
173 ok_mode(testname, NUL
203 check_dup(const char *testname, const char *path, const int *modes, int modes_count) argument
229 check_dup2(const char *testname, const char *path, const int *modes, int modes_count) argument
255 check_fchdir(const char *testname, const char *path, const int *modes, int modes_count) argument
279 check_fchflags(const char *testname, const char *path, const int *modes, int modes_count) argument
303 check_fchmod(const char *testname, const char *path, int setmode, const int *modes, int modes_count) argument
327 check_fchown(const char *testname, const char *path, const int *modes, int modes_count) argument
351 check_flock(const char *testname, const char *path, const int *modes, int modes_count) argument
375 check_fpathconf(const char *testname, const char *path, const int *modes, int modes_count) argument
401 check_fstat(const char *testname, const char *path, const int *modes, int modes_count) argument
426 check_fstatfs(const char *testname, const char *path, const int *modes, int modes_count) argument
451 check_fsync(const char *testname, const char *path, const int *modes, int modes_count) argument
475 check_ftruncate(const char *testname, const char *path, const int *modes, int modes_count) argument
588 check_futimes(const char *testname, const char *path, const int *modes, int modes_count) argument
612 check_lseek(const char *testname, const char *path, const int *modes, int modes_count) argument
636 check_getdents(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
676 check_sendfile(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
771 check_write(const char *testname, write_fn fn, const char *path, const int *modes, int modes_count) argument
857 check_read(const char *testname, read_fn fn, const char *path, const int *modes, int modes_count) argument
892 check_mmap_read(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
938 check_mmap_write(const char *testname, const char *path, const int *modes, int modes_count) argument
980 check_mmap_exec(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
1026 check_mmap_write_private(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
[all...]
/freebsd-10.0-release/tools/regression/sockets/sigpipe/
H A Dsigpipe.c79 signal_setup(const char *testname) argument
84 err(-1, "%s: signal(SIGPIPE)", testname);
88 test_send(const char *testname, int sock) argument
98 err(-1, "%s: send", testname);
100 errx(-1, "%s: send: returned %zd", testname, len);
104 test_write(const char *testname, int sock) argument
114 err(-1, "%s: write", testname);
116 errx(-1, "%s: write: returned %zd", testname, len);
120 test_send_wantsignal(const char *testname, int sock1, int sock2) argument
124 err(-1, "%s: shutdown", testname);
135 test_send_dontsignal(const char *testname, int sock1, int sock2) argument
154 test_write_wantsignal(const char *testname, int sock1, int sock2) argument
169 test_write_dontsignal(const char *testname, int sock1, int sock2) argument
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dtest-mem.c67 char *testname; variable
78 (void)write(fd, testname, strlen(testname));
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)
188 errx(1, "%s: %s underrun %x\n", testname, map_name, p[0]);
190 errx(1, "%s: %s overrun %x\n", testname, map_nam
[all...]
/freebsd-10.0-release/contrib/sendmail/libsm/
H A Dtest.c53 ** testname -- description of tests.
60 sm_test_begin(argc, argv, testname)
63 char *testname;
83 (void) fprintf(stdout, Help, argv[0], testname);
/freebsd-10.0-release/tools/regression/fifo/fifo_io/
H A Dfifo_io.c101 makefifo(const char *fifoname, const char *testname) argument
105 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname);
133 openfifo(const char *fifoname, const char *testname, int *reader_fdp, argument
158 openfifo_rw(const char *fifoname, const char *testname, int *fdp) argument
171 set_nonblocking(int fd, const char *testname) argument
177 warn("%s: fcntl(fd, F_GETFL)", testname);
184 warn("%s: fcntl(fd, 0x%x)", testname, flags);
192 set_blocking(int fd, const char *testname) argument
198 warn("%s: fcntl(fd, F_GETFL)", testname);
205 warn("%s: fcntl(fd, 0x%x)", testname, flag
217 drain_fd(int fd, const char *testname) argument
316 timed_write(int fd, void *data, size_t len, ssize_t *written_lenp, int timeout, int *timedoutp, const char *testname) argument
356 timed_read(int fd, void *data, size_t len, ssize_t *read_lenp, int timeout, int *timedoutp, const char *testname) argument
871 poll_status(int fd, int *readable, int *writable, int *exception, const char *testname) argument
891 select_status(int fd, int *readable, int *writable, int *exception, const char *testname) argument
921 kqueue_setup(int kqueue_fd, int fd, const char *testname) argument
960 kqueue_status(int kqueue_fd, int fd, int *readable, int *writable, int *exception, const char *testname) argument
992 fionread_status(int fd, int *readable, const char *testname) argument
1017 assert_status(int fd, int kqueue_fd, int assert_readable, int assert_writable, int assert_exception, const char *testname, const char *conditionname, const char *fdname) argument
[all...]
/freebsd-10.0-release/contrib/expat/tests/
H A Dminicheck.h29 #define START_TEST(testname) static void testname(void) { \
/freebsd-10.0-release/tools/regression/fifo/fifo_misc/
H A Dfifo_misc.c63 makefifo(const char *fifoname, const char *testname) argument
67 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname);
82 openfifo(const char *fifoname, const char *testname, int *reader_fdp, argument
153 test_ioctl_setclearflag(int fd, int flag, const char *testname, argument
160 warn("%s:%s: ioctl(%s, %s, 1)", testname, __func__, fdname,
168 warn("%s:%s: ioctl(%s, %s, 0)", testname, __func__, fdname,
/freebsd-10.0-release/contrib/apr-util/test/
H A Dabts.c31 static int find_test_name(const char *testname) { argument
34 if (!strcmp(testlist[i], testname)) {
42 static int should_test_run(const char *testname) { argument
50 found = find_test_name(testname);
/freebsd-10.0-release/tools/regression/sockets/unix_gc/
H A Dunix_gc.c304 twosome_drop_work(const char *testname, int sendvia, int tosend, int closefirst) argument
309 printf("%s\n", testname);
310 test = testname;
451 fivesome_drop_work(const char *testname, int close_spare_after_send, argument
457 printf("%s\n", testname);
458 test = testname;
/freebsd-10.0-release/tools/regression/sockets/kqueue/
H A Dkqueue.c58 #define OK(testname) printf("ok %d - %s\n", curtest, testname); \
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_pax_filename_encoding.c46 static const char testname[] = "test_pax_filename_encoding.tar"; local
58 extract_reference_file(testname);
63 archive_read_open_filename(a, testname, 10240));

Completed in 83 milliseconds