/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/fs/iso9660/ |
D | isofs.sh | 92 MNT_POINT="$PWD/mnt" 95 mkdir -p -m 777 $MNT_POINT 140 mount -t iso9660 -o $mount_opt isofs.iso $MNT_POINT 143 "mount -t iso9660 -o $mount_opt isofs.iso $MNT_POINT" 147 ls -lR $MNT_POINT > /dev/null 149 tst_resm TFAIL "ls -lR $MNT_POINT" 152 umount $MNT_POINT 154 tst_brkm TFAIL "umount $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 | 54 #define MNT_POINT "mntpoint" macro 131 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 132 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup() 174 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod06.c | 32 #define MNT_POINT "mntpoint" macro 74 fd3 = SAFE_OPEN(MNT_POINT"/file", O_RDONLY); in setup() 98 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/access/ |
D | access04.c | 53 #define MNT_POINT "mntpoint" macro 68 {MNT_POINT, W_OK, EROFS} 129 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir02.c | 41 #define MNT_POINT "mntpoint" macro 60 {MNT_POINT, EBUSY}, 119 .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/chmod/ |
D | chmod06.c | 51 #define MNT_POINT "mntpoint" macro 77 {MNT_POINT, FILE_MODE, EROFS, NULL, NULL}, 160 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat02.c | 27 #define MNT_POINT "mntpoint" macro 92 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link08.c | 39 #define MNT_POINT "mntpoint" macro 99 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 40 #define MNT_POINT "mntpoint" macro 106 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/utimes/ |
D | utimes01.c | 44 #define MNT_POINT "mntpoint" macro 114 .mntpoint = MNT_POINT,
|