Lines Matching refs:DIR_TEMP
86 #define DIR_TEMP "testdir_1" macro
234 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
235 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", DIR_TEMP); in setup()
237 if (chown(DIR_TEMP, user1_uid, group2_gid) < 0) { in setup()
238 tst_brkm(TBROK, cleanup, "chown(2) of %s failed", DIR_TEMP); in setup()
245 if (stat(DIR_TEMP, &buf) < 0) { in setup()
246 tst_brkm(TBROK, cleanup, "stat(2) of %s failed", DIR_TEMP); in setup()
252 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup()
257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
277 if (chdir(DIR_TEMP) < 0) { in setup()
279 "Unable to change to %s directory", DIR_TEMP); in setup()