]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: Improve test 219 to work with different filesystems
authorJan Kara <jack@suse.cz>
Wed, 29 Jun 2011 16:04:40 +0000 (16:04 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 20 Jul 2011 23:22:09 +0000 (18:22 -0500)
commit7f4a2e30b263fc301b2edd5a8f4abf66e7b3d4dc
tree2d74669996e73ea44e087820658dae27fb3c4f56
parentb55fb0807caf04bb7b8275bcf2daf3e9aef7e589
xfstests: Improve test 219 to work with different filesystems

Different filesystems account different amount of metadata in quota.
Thus it is impractical to check for a particular amount of space
occupied by a file because there is no right value. Change the test
to verify whether the amount of space is between the expected amount
of space and the expected amount +5%.  The number of files is
checked exactly as previously.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Alex Elder <aelder@sgi.com>
219
219.out