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
64 umount 2>/dev/null $MNTDIR
66 rmdir 2>/dev/null $MNTDIR
75 mkdir $MNTDIR || die 2 "Could not create the mountpoint"
76 mount -t ext3 -o loop,usrquota,grpquota $IMAGE $MNTDIR || die 2 "Could not mount the filesystem"
82 chcon -t tmp_t $MNTDIR || die 2 "Could not change SELinux file type"
86 quotacheck -cug $MNTDIR || die 2 "Could not create quota files"
89 quotaon -ug $MNTDIR || die 2 "Could not turn quota on"
92 echo "blah" >$MNTDIR/file || die 2 "Could not write to the filesystem"
96 BLOCKS=`quota -f $MNTDIR -v -w | tail -n 1 | sed -e 's/ *[^ ]* *\([0-9]*\) .*/\1/'`
[all …]