mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: conditionalise allocsize option in 014
allocsize is an XFS specific mount option, and hence causes the test to fail on other filesystems. Only set the mount option on xfs filesystems. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Josef Bacik <josef@redhat.com>
This commit is contained in:
committed by
Dave Chinner
parent
186b6bd2e8
commit
3c910c4bd2
@@ -53,8 +53,10 @@ _setup_testdir
|
||||
# ensure EOF preallocation doesn't massively extend the runtime of this test
|
||||
# by limiting the amount of preallocation and therefore the amount of blocks
|
||||
# zeroed during the truncfile test run.
|
||||
umount $TEST_DIR
|
||||
_test_mount -o allocsize=64k
|
||||
if [ "$FSTYP" == "xfs" ]; then
|
||||
umount $TEST_DIR
|
||||
_test_mount -o allocsize=64k
|
||||
fi
|
||||
|
||||
echo "brevity is wit..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user