Searched refs:TEST_PATH (Results 1 – 1 of 1) sorted by relevance
/freebsd/tools/regression/posixsem/ |
H A D | posixsem.c | 55 #define TEST_PATH "/tmp/posixsem_regression_test" macro 239 if (ksem_open(&id, TEST_PATH, O_CREAT, 0777, 1) < 0) { in open_after_unlink() 245 if (ksem_unlink(TEST_PATH) < 0) { in open_after_unlink() 250 ksem_open_should_fail(TEST_PATH, O_RDONLY, 0777, 1, ENOENT); in open_after_unlink() 266 ksem_open_should_fail(TEST_PATH, O_RDONLY | O_DIRECT, 0777, 1, EINVAL); in open_extra_flags() 274 (void)ksem_unlink(TEST_PATH); in open_bad_value() 276 ksem_open_should_fail(TEST_PATH, O_CREAT, 0777, UINT_MAX, EINVAL); in open_bad_value() 314 if (ksem_open(&id, TEST_PATH, O_CREAT, 0777, 1) < 0) { in exclusive_create_existing_semaphore() 320 ksem_open_should_fail(TEST_PATH, O_CREAT | O_EXCL, 0777, 1, EEXIST); in exclusive_create_existing_semaphore() 322 ksem_unlink(TEST_PATH); in exclusive_create_existing_semaphore() [all …]
|