Home
last modified time | relevance | path

Searched refs:MNT_POINT (Results 1 – 11 of 11) sorted by relevance

/external/ltp/testscripts/
Dexportfs.sh43 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 …]
Dsysfs.sh44 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/
Disofs.sh92 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/link/
Dlink08.c53 #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/utime/
Dutime06.c56 #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/mknodat/
Dmknodat02.c48 #define MNT_POINT "mntpoint" macro
133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
134 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()
139 dir_fd = SAFE_OPEN(cleanup, MNT_POINT, O_DIRECTORY); in setup()
180 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c69 #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/
Dmknod07.c54 #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/
Dmkdir03.c47 #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/syscalls/access/
Daccess04.c53 #define MNT_POINT "mntpoint" macro
68 {MNT_POINT, W_OK, EROFS}
130 .mntpoint = MNT_POINT,
/external/ltp/testcases/kernel/io/direct_io/
Ddma_thread_diotest.c111 #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()