Searched refs:FILENAME (Results 1 – 3 of 3) sorted by relevance
| /xnu-10002.41.9/tests/vm/ |
| H A D | mmap_resilient_media.c | 50 #define FILENAME "/tmp/test-77350114.data" macro 97 fd = open(FILENAME, O_RDWR | O_CREAT | O_TRUNC, 0644); 98 T_QUIET; T_ASSERT_POSIX_SUCCESS(fd, "open(%s)", FILENAME); 134 ret = unlink(FILENAME); 135 T_QUIET; T_ASSERT_POSIX_SUCCESS(ret, "unlink(%s)", FILENAME);
|
| /xnu-10002.41.9/tests/ |
| H A D | utimensat.c | 18 #define FILENAME "utimensat" macro 50 T_ASSERT_POSIX_SUCCESS((fd = open(FILENAME, O_CREAT | O_RDWR, 0644)), NULL); 61 T_ASSERT_POSIX_ZERO(stat(FILENAME, &pre_st), NULL); 62 T_ASSERT_POSIX_ZERO(utimensat(AT_FDCWD, FILENAME, tptr[i], 0), NULL); 63 T_ASSERT_POSIX_ZERO(stat(FILENAME, &post_st), NULL);
|
| /xnu-10002.41.9/tools/tests/superpages/ |
| H A D | testsp.c | 616 #define FILENAME "/System/Library/Kernels/kernel" macro 639 if ((fd = open(FILENAME, O_RDONLY)) < 0) { in test_fileio() 640 sprintf(error, "couldn't open %s", FILENAME); in test_fileio()
|