From: Dongsheng Yang Date: Tue, 4 Aug 2015 04:10:49 +0000 (+1000) Subject: generic/038: mount scratch before checking it X-Git-Tag: v2022.05.01~2823 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6834333589af5f3080eca906f0b2e54df8d02285;p=xfstests-dev.git generic/038: mount scratch before checking it We want to check the size of scratch with _require_fs_space, but we have to mount it firstly. Reported-by: Zeng Linggang Signed-off-by: Dongsheng Yang Reviewed-by: Eryu Guan Signed-off-by: Dave Chinner --- diff --git a/tests/generic/038 b/tests/generic/038 index 7bfebfc6..4d108cfc 100755 --- a/tests/generic/038 +++ b/tests/generic/038 @@ -121,8 +121,8 @@ create_files() } _scratch_mkfs >>$seqres.full 2>&1 -_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) _scratch_mount +_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) _require_batched_discard $SCRATCH_MNT for ((i = 0; i < $((4 * $LOAD_FACTOR)); i++)); do