generic/038: mount scratch before checking it
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
commit6834333589af5f3080eca906f0b2e54df8d02285
tree27e35ac7031c4973c4462fc2d71ca1ba2cec6aa9
parent45eca980650f2c1b38a273bbce6301df242d9c38
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 <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/038