]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: restrict 259 device sizes to multiples of 512
authorEric Sandeen <sandeen@sandeen.net>
Sun, 6 Oct 2013 02:40:00 +0000 (02:40 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 16 Oct 2013 20:16:35 +0000 (15:16 -0500)
commitaaac93cb801e733af92c531c4f0aebac337ee7b8
tree90d5a8e95da83f0afc16808e1b400a5956d73cff
parent9366fb285e6a2fac935e03c54f6be50f90ab1e64
xfstests: restrict 259 device sizes to multiples of 512

Test 259 tries to make a loop device size which is 1 byte less
than 4T; losetup now warns that this makes little sense, and
the warning breaks the test output:

    +losetup: /mnt/test/259.image: warning: file does not fit into a 512-byte sector the end of the file will be ignored.

The RH QE testcase did originally use loopback, so did
not in effect test anything other than 512-multiple boundaries.

Just drop the non-512-byte-multiple cases, they produce
devices exactly the same size as their 512-byte-multiple
neighbors.

(FWIW, this is a regression test for the bug that
d943b11 mkfs: get size of device properly
fixed.)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/xfs/259
tests/xfs/259.out