/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 138 mount -t iso9660 -o $mount_opt isofs.iso $MNT_POINT 141 "mount -t iso9660 -o $mount_opt isofs.iso $MNT_POINT" 145 ls -lR $MNT_POINT > /dev/null 147 tst_resm TFAIL "ls -lR $MNT_POINT" 150 umount $MNT_POINT 152 tst_brkm TFAIL "umount $MNT_POINT"
|
/external/ltp/testcases/kernel/syscalls/access/ |
D | access06.c | 46 #define MNT_POINT "mntpoint" macro 57 {MNT_POINT, W_OK, EROFS} 97 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 104 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup() 139 if (mount_flag && tst_umount(MNT_POINT) < 0) { in cleanup()
|
/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 if (mount(dev, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup() 170 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link08.c | 53 #define MNT_POINT "mntpoint" macro 147 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 148 if (mount(device, MNT_POINT, fs_type, 0, NULL) < 0) { in setup() 155 if (mount(device, MNT_POINT, fs_type, in setup() 164 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
D | mknodat02.c | 49 #define MNT_POINT "mntpoint" macro 134 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 135 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup() 140 dir_fd = SAFE_OPEN(cleanup, MNT_POINT, O_DIRECTORY); in setup() 181 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 69 #define MNT_POINT "mntpoint" macro 97 {MNT_POINT, FILE_MODE, EROFS, NULL, NULL}, 197 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 202 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup() 223 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 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup() 177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 47 #define MNT_POINT "mntpoint" macro 126 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup() 127 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup() 166 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|
/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 if (mount(device, MNT_POINT, "ext3", 0, NULL) < 0) { in setup() 433 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
|