Searched refs:tstdir1 (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir03.c | 90 char tstdir1[255]; variable 130 if (stat(tstdir1, &buf1) != -1) { in main() 132 "tmp directory %s found!", tstdir1); in main() 135 if (mkdir(tstdir1, PERMS) == -1) { in main() 137 "Couldnot create directory %s", tstdir1); in main() 139 if (stat(tstdir1, &buf1) == -1) { in main() 142 "in rmdir()", tstdir1); in main() 146 if (chmod(tstdir1, buf1.st_mode | S_ISVTX) != 0) { in main() 218 (void)rmdir(tstdir1); in main() 328 sprintf(tstdir1, "./tstdir1_%d", getpid()); in setup() [all …]
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir05.c | 46 char tstdir1[100]; variable 75 sprintf(tstdir1, "tstdir1.%d", getpid()); in main() 78 TEST(mkdir(tstdir1, PERMS)); in main() 82 tstdir1, PERMS); in main() 86 if (stat(tstdir1, &buf) == -1) { in main() 105 if (rmdir(tstdir1) == -1) { in main()
|
D | mkdir02.c | 92 char tstdir1[100]; variable 126 sprintf(tstdir1, "tstdir1.%d", getpid()); in main() 160 if (mkdir(tstdir1, PERMS) != 0) { in main() 168 if (stat(tstdir1, &buf1) == -1) { in main() 176 if (chmod(tstdir1, buf1.st_mode | S_ISGID) != 0) { in main() 201 sprintf(tstdir2, "%s/tstdir2.%d", tstdir1, getpid()); in main() 238 tstdir1); in main() 254 if (stat(tstdir1, &buf1) == -1) { in main()
|
D | mkdir04.c | 94 char tstdir1[100]; variable 122 sprintf(tstdir1, "tstdir1.%d", getpid()); in main() 137 if (mkdir(tstdir1, PERMS) == -1) { in main() 140 tstdir1, PERMS); in main() 153 sprintf(tstdir2, "%s/tst", tstdir1); in main()
|