Files
apfstests/common
Theodore Ts'o 850bc06d52 defrag: test $TEST_DEV for extents for ext4 defrag
Commit 902223bdbb: "defrag: require extents support for ext4
defrag" added a test to make sure the ext4 file system has extents
enabled by testing the scratch device.  Unfortunately at the time
when _require_defrag is run, the scratch file system hasn't been
initialized yet by the test, so its contents are undefined.

If the previous test explicitly creates a file system with extents
disabled on $SCRATCH_DEV (such as ext4/306), then subsequent tests
(e.g., ext4/307 and ext4/306) will refuse to run.

Fix this by testing $TEST_DEV instead of $SCRATCH_DEV.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2016-06-15 15:36:23 +08:00
..
2016-02-19 10:48:48 +11:00
2013-03-26 21:44:05 -05:00
2016-05-09 10:55:13 +10:00
2016-02-19 10:49:17 +11:00
2016-02-12 09:39:05 -08:00