/external/ltp/testscripts/ |
D | exportfs.sh | 43 MNT_POINT="/tmp/exportfs_$$" 150 rsh -n -l root $NFS_SERVER "mkdir -p -m 777 $MNT_POINT" 153 echo "FAILED: Could not mkdir -p -m 777 $MNT_POINT on $NFS_SERVER" 157 rsh -n -l root $NFS_SERVER "mount -t $FS_TYPE $REM_DISK_PART $MNT_POINT" 160 echo "FAILED: Could not mount -t $FS_TYPE $REM_DISK_PART on $MNT_POINT" 164 rsh -n -l root $NFS_SERVER "chmod 777 $MNT_POINT" 167 echo "FAILED: Could not chmod 777 $MNT_POINT on $NFS_SERVER" 171 rsh -n -l root $NFS_SERVER "/usr/sbin/exportfs -i -o no_root_squash,rw *:$MNT_POINT" 174 rsh -n -l root $NFS_SERVER "umount $MNT_POINT" 175 rsh -n -l root $NFS_SERVER "rm -rf $MNT_POINT" [all …]
|
D | sysfs.sh | 44 MNT_POINT="/tmp/sysfs_$$" 84 mkdir -p -m 777 $MNT_POINT 85 mount -t sysfs sysfs $MNT_POINT 95 umount $MNT_POINT 96 rm -rf $MNT_POINT 104 umount $MNT_POINT 105 rm -rf $MNT_POINT 117 umount $MNT_POINT 118 rm -rf $MNT_POINT
|
/external/ltp/testcases/kernel/syscalls/utime/ |
D | utime06.c | 56 #define MNT_POINT "mntpoint" macro 76 {MNT_POINT, EROFS, NULL, NULL, NULL}, 124 SAFE_MKDIR(cleanup, MNT_POINT, 0644); in setup() 125 SAFE_MOUNT(cleanup, dev, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup() 167 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
D | mknodat02.c | 48 #define MNT_POINT "mntpoint" macro 133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup() 136 dir_fd = SAFE_OPEN(cleanup, MNT_POINT, O_DIRECTORY); in setup() 177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod07.c | 55 #define MNT_POINT "mntpoint" macro 133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup() 177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod06.c | 19 #define MNT_POINT "mntpoint" macro 61 fd3 = SAFE_OPEN(MNT_POINT"/file", O_RDONLY); in setup() 85 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/access/ |
D | access04.c | 41 #define MNT_POINT "mntpoint" macro 56 {MNT_POINT, W_OK, EROFS} 116 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir02.c | 29 #define MNT_POINT "mntpoint" macro 48 {MNT_POINT, EBUSY}, 107 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 38 #define MNT_POINT "mntpoint" macro 64 {MNT_POINT, FILE_MODE, EROFS, NULL, NULL}, 147 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | dma_thread_diotest.c | 111 #define MNT_POINT "mntpoint" macro 112 #define FILE_BASEPATH MNT_POINT "/_dma_thread_test_%.04d.tmp" 388 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 404 SAFE_MOUNT(NULL, device, MNT_POINT, "ext3", 0, NULL); in setup() 430 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat02.c | 16 #define MNT_POINT "mntpoint" macro 81 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link08.c | 26 #define MNT_POINT "mntpoint" macro 86 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 27 #define MNT_POINT "mntpoint" macro 92 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/utimes/ |
D | utimes01.c | 31 #define MNT_POINT "mntpoint" macro 101 .mntpoint = MNT_POINT,
|