]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
resize2fs: fix regression test to not depend on ext4.ko being loaded
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Jan 2015 18:10:47 +0000 (13:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jan 2015 18:10:58 +0000 (13:10 -0500)
commitf21c30d90cdae684b106402c001010aa90e9d637
tree286f47ec2de70d9ac537d54d1182d00d9100ab91
parent5f0164b3a4fb0527b3877aff122d564844c0b301
resize2fs: fix regression test to not depend on ext4.ko being loaded

The behavior of the r_fixup_lastbg_big test varies depending on
whether or not ext4.ko is loaded and supports lazy_itable_init.  This
makes checking the bg flags after resize2fs hard to predict, so put in
a way to force resize2fs to zero the inode tables, and compare the
output based on lazy_itable_init == 0.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
resize/resize2fs.c
tests/r_fixup_lastbg_big/expect
tests/r_fixup_lastbg_big/script