Home | History | Annotate | Download | only in mknod

Lines Matching defs:DIR_TEMP

87 #define DIR_TEMP	"testdir_3"
236 if (mkdir(DIR_TEMP, MODE_RWX) < 0) {
237 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", DIR_TEMP);
239 if (chown(DIR_TEMP, user1_uid, group2_gid) < 0) {
240 tst_brkm(TBROK, cleanup, "chown(2) of %s failed", DIR_TEMP);
242 if (chmod(DIR_TEMP, MODE_SGID) < 0) {
243 tst_brkm(TBROK, cleanup, "chmod(2) of %s failed", DIR_TEMP);
250 if (stat(DIR_TEMP, &buf) < 0) {
251 tst_brkm(TBROK, cleanup, "stat(2) of %s failed", DIR_TEMP);
257 "%s: Incorrect modes, setgid bit not set", DIR_TEMP);
262 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP);
281 /* Change directory to DIR_TEMP */
282 if (chdir(DIR_TEMP) < 0) {
284 "Unable to change to %s directory", DIR_TEMP);