Home | History | Annotate | Download | only in readlink

Lines Matching refs:TESTFILE

77 #define TESTFILE	"testfile"
85 const int exp_val = sizeof(TESTFILE) - 1; /* strlen of testfile */
122 * strlen() of testfile.
126 if (memcmp(buffer, TESTFILE, exp_val) != 0) {
129 TESTFILE, buffer);
151 * Create a symbolic link of testfile.
155 int fd; /* file handle for testfile */
170 if ((fd = open(TESTFILE, O_RDWR | O_CREAT, FILE_MODE)) == -1) {
173 TESTFILE, FILE_MODE);
177 tst_resm(TWARN | TERRNO, "close(%s) failed", TESTFILE);
180 /* Create a symlink of testfile under temporary directory */
181 SAFE_SYMLINK(cleanup, TESTFILE, SYMFILE);
188 * Remove the test directory and testfile created in the setup.