Lines Matching refs:DIR_TEMP
87 #define DIR_TEMP "testdir_2" macro
239 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
240 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", DIR_TEMP); in setup()
242 if (chown(DIR_TEMP, user1_uid, group2_gid) < 0) { in setup()
243 tst_brkm(TBROK, cleanup, "chown(2) of %s failed", DIR_TEMP); in setup()
250 if (stat(DIR_TEMP, &buf) < 0) { in setup()
251 tst_brkm(TBROK, cleanup, "stat(2) of %s failed", DIR_TEMP); in setup()
257 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup()
262 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
282 if (chdir(DIR_TEMP) < 0) { in setup()
284 "Unable to change to %s directory", DIR_TEMP); in setup()