Home
last modified time | relevance | path

Searched refs:MNT_POINT (Results 1 – 15 of 15) 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
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/
Dutime06.c56 #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/
Dmknodat02.c48 #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/
Dmknod07.c54 #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/
Dfchmod06.c32 #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/
Daccess04.c53 #define MNT_POINT "mntpoint" macro
68 {MNT_POINT, W_OK, EROFS}
129 .mntpoint = MNT_POINT,
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c41 #define MNT_POINT "mntpoint" macro
60 {MNT_POINT, EBUSY},
119 .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 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/
Dchmod06.c51 #define MNT_POINT "mntpoint" macro
77 {MNT_POINT, FILE_MODE, EROFS, NULL, NULL},
160 .mntpoint = MNT_POINT,
/external/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c27 #define MNT_POINT "mntpoint" macro
92 .mntpoint = MNT_POINT,
/external/ltp/testcases/kernel/syscalls/link/
Dlink08.c39 #define MNT_POINT "mntpoint" macro
99 .mntpoint = MNT_POINT,
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c40 #define MNT_POINT "mntpoint" macro
106 .mntpoint = MNT_POINT,
/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c44 #define MNT_POINT "mntpoint" macro
114 .mntpoint = MNT_POINT,