Message ID | 1602840684-25524-1-git-send-email-xuyang2018.jy@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] xfs/521: use _try_scratch_mount instead of _scratch_mount | expand |
On Fri, Oct 16, 2020 at 05:31:23PM +0800, Yang Xu wrote: > Here will check the return code of mount option. So update it > to use _try_scratch_mount. > > Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> Looks good to me, Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> --D > --- > tests/xfs/521 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/xfs/521 b/tests/xfs/521 > index 3aaa1296..e6c417b8 100755 > --- a/tests/xfs/521 > +++ b/tests/xfs/521 > @@ -49,7 +49,7 @@ echo "Format and mount 100m rt volume" > export USE_EXTERNAL=yes > export SCRATCH_RTDEV=$rtdev > _scratch_mkfs -r size=100m > $seqres.full > -_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume" > +_try_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume" > > testdir=$SCRATCH_MNT/test-$seq > mkdir $testdir > -- > 2.23.0 > > >
diff --git a/tests/xfs/521 b/tests/xfs/521 index 3aaa1296..e6c417b8 100755 --- a/tests/xfs/521 +++ b/tests/xfs/521 @@ -49,7 +49,7 @@ echo "Format and mount 100m rt volume" export USE_EXTERNAL=yes export SCRATCH_RTDEV=$rtdev _scratch_mkfs -r size=100m > $seqres.full -_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume" +_try_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume" testdir=$SCRATCH_MNT/test-$seq mkdir $testdir
Here will check the return code of mount option. So update it to use _try_scratch_mount. Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> --- tests/xfs/521 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)