Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.41.6/tests/
H A Dfile_leases.c115 char *testfile = argv[0]; variable
119 fd = open(testfile, O_RDONLY, 0666);
120 T_ASSERT_NE(fd, -1, "Open test fi1e in O_RDONLY: %s", testfile);
124 T_ASSERT_NE(err, -1, "Acquire read lease: %s", testfile);
128 T_ASSERT_EQ(err, F_RDLCK, "Retrieve lease: %s", testfile);
130 T_ASSERT_POSIX_SUCCESS(close(fd), "Close test file: %s", testfile);
135 char *testfile = argv[0]; variable
139 fd = open(testfile, O_RDONLY, 0666);
140 T_ASSERT_NE(fd, -1, "Open test fi1e in O_RDONLY: %s", testfile);
145 testfile);
[all …]