summaryrefslogtreecommitdiff
path: root/tests/t_mmp_1on
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2011-11-11 21:11:43 -0500
committerTheodore Ts'o <tytso@mit.edu>2011-11-11 21:11:43 -0500
commit6d26887991cf3bb3d21c6b9b0035576527c4a27e (patch)
treeb607696f7b43f58f33d80b462c8cc4ea5d17aa4d /tests/t_mmp_1on
parentdf7a86d404e293465b8e5f39859c0916e84ba35a (diff)
downloade2fsprogs-6d26887991cf3bb3d21c6b9b0035576527c4a27e.tar.gz
tests: fix mmp tests on hard 4k devices
Several of the mmp tests were failing on an s390 guest because direct IO cannot be done on sub-sector sizes, and they were doing 1k IOs to files on a 4k logical/physical device. A few tests could just be changed to 4k, but others needed fixed up output as well. With this I have all tests passing on s390 again. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/t_mmp_1on')
-rw-r--r--tests/t_mmp_1on/script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t_mmp_1on/script b/tests/t_mmp_1on/script
index ee9884ff..3b0a3766 100644
--- a/tests/t_mmp_1on/script
+++ b/tests/t_mmp_1on/script
@@ -11,7 +11,7 @@ if [ $? == 0 ] ; then
return 0
fi
-$MKE2FS -q -F -o Linux -b 1024 $TMPFILE 100 > $test_name.log 2>&1
+$MKE2FS -q -F -o Linux -b 4096 $TMPFILE 100 > $test_name.log 2>&1
status=$?
if [ "$status" != 0 ] ; then
echo "mke2fs failed" > $test_name.failed