From: Dave Chinner Date: Mon, 14 Feb 2011 00:23:29 +0000 (+1100) Subject: xfstests: conditionalise allocsize option in 014 X-Git-Tag: v1.1.0~91 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3c910c4bd27dcf315323d43903ff6697df99a11c;p=xfstests-dev.git 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 Signed-off-by: Josef Bacik --- diff --git a/014 b/014 index e6e0a6f7..057e4d95 100755 --- a/014 +++ b/014 @@ -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..."