Home
last modified time | relevance | path

Searched refs:mdir (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/rename/
Drename05.c74 char fname[255], mdir[255]; variable
102 TEST(rename(fname, mdir)); in main()
106 fname, mdir); in main()
138 sprintf(mdir, "./rndir_%d", getpid()); in setup()
150 if (stat(mdir, &buf2) != -1) { in setup()
151 tst_brkm(TBROK, cleanup, "tmp directory %s found!", mdir); in setup()
154 SAFE_MKDIR(cleanup, mdir, 00770); in setup()
156 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename06.c75 char fdir[255], mdir[255]; variable
103 TEST(rename(fdir, mdir)); in main()
107 fdir, mdir); in main()
137 sprintf(mdir, "%s/rndir_%d", fdir, getpid()); in setup()
150 if (stat(mdir, &buf2) != -1) { in setup()
151 tst_brkm(TBROK, cleanup, "tmp directory %s found!", mdir); in setup()
153 SAFE_MKDIR(cleanup, mdir, 00770); in setup()
155 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename04.c77 char fdir[255], mdir[255]; variable
106 TEST(rename(fdir, mdir)); in main()
110 fdir, mdir); in main()
147 sprintf(mdir, "./rndir_%d", getpid()); in setup()
148 sprintf(tstfile, "%s/tstfile_%d", mdir, getpid()); in setup()
160 SAFE_MKDIR(cleanup, mdir, 00770); in setup()
164 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename09.c92 char fdir[255], mdir[255]; variable
169 if (mkdir(mdir, PERMS) == -1) { in main()
171 mdir, PERMS); in main()
201 SAFE_RMDIR(cleanup, mdir); in main()
245 sprintf(mdir, "rndir_%d", getpid()); in setup()
247 sprintf(mname, "%s/rnfile_%d", mdir, getpid()); in setup()
Drename03.c82 char fdir[255], mdir[255]; variable
96 fdir, mdir, "directory", &d_olddev, &d_oldino}
166 SAFE_RMDIR(cleanup, mdir); in main()
190 sprintf(mdir, "./rndir_%d", getpid()); in setup()
216 SAFE_MKDIR(cleanup, mdir, 00770); in setup2()
Drename01.c84 char fdir[255], mdir[255]; variable
101 fdir, mdir, "directory", &d_olddev, &d_oldino}
165 SAFE_RENAME(cleanup, mdir, fdir); in main()
189 sprintf(mdir, "./rndir_%d", getpid()); in setup()
Drename10.c80 char mdir[255]; variable
158 sprintf(mdir, "./rndir_%d", getpid()); in setup()
159 sprintf(mname, "%s/rnfile_%d", mdir, getpid()); in setup()
/external/e2fsprogs/util/
Dgen-sample-fs33 mkdir $MNT/mdir
34 touch $MNT/mdir/1
35 touch $MNT/mdir/2
36 touch $MNT/mdir/3
37 touch $MNT/mdir/4
38 touch $MNT/mdir/5