[PATCH] xfstests: restrict 259 device sizes to multiples of 512

Eric Sandeen
2013-10-06T02:25:33Z

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

Just drop the 1-byte-shy case, because it produces a device
exactly the same size as the 512-bytes-shy case.

(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>
---

diff --git a/tests/xfs/259 b/tests/xfs/259
index 59eeaca..9c12ccf 100755
--- a/tests/xfs/259
+++ b/tests/xfs/259
@@ -48,7 +48,7 @@ testfile=$TEST_DIR/259.image

# Test various sizes slightly less than 4 TB
four_TB=$(_math "2^42")
-for del in 1 512 1024 1025 2048 4096; do
+for del in 512 1024 1025 2048 4096; do