Searched refs:test_path (Results 1 – 9 of 9) sorted by relevance
| /NextBSD/tests/sys/posixshm/ |
| HD | posixshm_test.c | 48 static char test_path[TEST_PATH_LEN]; variable 58 snprintf(test_path, sizeof(test_path), "%s/tmp.XXXXXX", tmpdir); in gen_test_path() 59 test_path[sizeof(test_path) - 1] = '\0'; in gen_test_path() 60 ATF_REQUIRE_MSG(mkstemp(test_path) != -1, in gen_test_path() 62 ATF_REQUIRE_MSG(unlink(test_path) == 0, in gen_test_path() 106 fd = shm_open(test_path, O_CREAT|O_EXCL|O_RDWR, 0777); in scribble_object() 108 if (shm_unlink(test_path) < 0) in scribble_object() 110 fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777); in scribble_object() 149 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1, in ATF_TC_BODY() 162 fd = shm_open(test_path, O_RDONLY, 0777); in ATF_TC_BODY() [all …]
|
| /NextBSD/contrib/jansson/test/suites/invalid/ |
| HD | run | 9 test -d $test_path 19 [ -f $test_path/nostrip ] && return 24 <$test_path/input >$test_log/stdout$s 2>$test_log/stderr$s 28 [ -f $test_path/error$s ] && ref=error$s 30 if ! cmp -s $test_path/$ref $test_log/stderr$s; then 50 [ -f $test_path/error$s ] && ref=error$s 51 nl -bn $test_path/$ref
|
| /NextBSD/contrib/jansson/test/suites/encoding-flags/ |
| HD | run | 9 test -d $test_path 14 if [ -f $test_path/env ]; then 15 . $test_path/env 17 $json_process --env <$test_path/input >$test_log/stdout 2>$test_log/stderr 20 cmp -s $test_path/output $test_log/stdout 27 nl -bn $test_path/output
|
| /NextBSD/contrib/jansson/test/suites/valid/ |
| HD | run | 12 test -d $test_path 23 <$test_path/input >$test_log/stdout$s 2>$test_log/stderr$s 27 [ -f $test_path/output$s ] && ref=output$s 29 if ! cmp -s $test_path/$ref $test_log/stdout$s; then 49 [ -f $test_path/output$s ] && ref=output$s 50 nl -bn $test_path/$ref
|
| /NextBSD/contrib/jansson/test/suites/invalid-unicode/ |
| HD | run | 9 test -d $test_path 13 $json_process --env <$test_path/input >$test_log/stdout 2>$test_log/stderr 15 cmp -s $test_path/error $test_log/stderr 22 nl -bn $test_path/error
|
| /NextBSD/contrib/jansson/test/bin/ |
| HD | json_process.c | 159 int use_conf(char *test_path) in use_conf() argument 169 sprintf(filename, "%s%cinput", test_path, dir_sep); in use_conf() 175 sprintf(filename, "%s%cenv", test_path, dir_sep); in use_conf() 230 ret = cmpfile(errstr, test_path, "error"); in use_conf() 235 ret = cmpfile(buffer, test_path, "output"); in use_conf() 352 char *test_path = NULL; in main() local 368 test_path = argv[i]; in main() 375 if (!test_path) in main() 378 return use_conf(test_path); in main()
|
| /NextBSD/contrib/jansson/test/scripts/ |
| HD | run-tests.sh | 33 for test_path in $suite_srcdir/*; do 34 test_name=$(basename $test_path) 89 test_path=$suite_srcdir/$test_name
|
| /NextBSD/usr.bin/catman/ |
| HD | catman.c | 307 test_path(char *name, time_t *mod_time) in test_path() function 344 if (verbose && !(test_path(mandir, NULL) & TEST_WRITABLE)) in check_writable() 357 if ((test = test_path(dir, NULL)) != 0) { in make_writable_dir() 392 src_test = test_path(src, &src_mtime); in process_page() 404 cat_test = test_path(cat, &cat_mtime); in process_page() 486 if (!(test_path(page_path, NULL) & TEST_DIR)) { in scan_section() 508 if (test_path(zip_path, NULL) != 0) { in scan_section() 555 if (test_path(cat_path, NULL) & TEST_DIR) in scan_section() 642 if (test_path(machine_dir, NULL) & TEST_DIR) in process_mandir() 648 if (test_path(arch_dir, NULL) & TEST_DIR) in process_mandir()
|
| /NextBSD/contrib/jansson/test/suites/api/ |
| HD | run | 21 test_log=$test_log $test_path >$test_log/stdout 2>$test_log/stderr
|