Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/quota_remount/
Dquota_remount_test01.sh48 MNTDIR=$TMPDIR/mnt
74 umount 2>/dev/null $MNTDIR
76 rmdir 2>/dev/null $MNTDIR
85 mkdir $MNTDIR || die 2 "Could not create the mountpoint"
86 mount -t ext3 -o loop,usrquota,grpquota $IMAGE $MNTDIR || die 2 "Could not mount the filesystem"
92 chcon -t tmp_t $MNTDIR || die 2 "Could not change SELinux file type"
96 quotacheck -cug $MNTDIR || die 2 "Could not create quota files"
99 quotaon -ug $MNTDIR || die 2 "Could not turn quota on"
102 echo "blah" >$MNTDIR/file || die 2 "Could not write to the filesystem"
106 BLOCKS=`quota -f $MNTDIR -v -w | tail -n 1 | sed -e 's/ *[^ ]* *\([0-9]*\) .*/\1/'`
[all …]