]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/244: remove extra junk
authorEric Sandeen <sandeen@redhat.com>
Thu, 22 Dec 2016 01:23:06 +0000 (19:23 -0600)
committerEryu Guan <eguan@redhat.com>
Sat, 24 Dec 2016 10:09:40 +0000 (18:09 +0800)
Lots of pointless mounting & unmounting & quotaon etc,
get rid of it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/244

index 0b50438d211f31a9f4501d8507df2fd869d2c745..36c632eb38f6f5e72d1d478c9fb9832348cc2f86 100755 (executable)
@@ -54,18 +54,11 @@ _supported_os Linux
 _require_quota
 _require_scratch
 
-scratch_unmount 2>/dev/null
 _scratch_mkfs >> $seqres.full 2>&1
-_scratch_mount "-o usrquota,grpquota"
-quotacheck -u -g $SCRATCH_MNT 2>/dev/null
-quotaon $SCRATCH_MNT 2>/dev/null
-_scratch_unmount
 
 TYPES="u g"
 MOUNT_OPTIONS="-o usrquota,grpquota"
-
 _qmount
-quotaon $SCRATCH_MNT 2>/dev/null
 
 # Ok, do we even have GETNEXTQUOTA?  Querying ID 0 should work.
 $here/src/test-nextquota -i 0 -u -d $SCRATCH_DEV &> $seqres.full || \