fstests: use get_block_size helper
[xfstests-dev.git] / tests / xfs / 139
index 16193e516241068bd277d6b11b043a7a6c3281e0..b62ef1b58e1adbf130807b40af055e5bcbc31860 100755 (executable)
@@ -54,7 +54,7 @@ _scratch_mount >> $seqres.full 2>&1
 
 testdir=$SCRATCH_MNT/test-$seq
 mkdir $testdir
-blksz="$(stat -f $testdir -c '%S')"
+blksz="$(get_block_size $testdir)"
 
 echo "Create the original files"
 sz=$((48 * 1048576))