When trying to mount a file system with a block size > page size on
kernel which doesn't support this, suppress the error messages from
showing up in the output file lest it cause test failures.
Fixes: 0b66f6efd669 ("xfs/032: try running on blocksize > pagesize filesystems")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
if [ $? -ne 0 ]; then
continue
fi
- if ! _try_scratch_mount; then
+ if ! _try_scratch_mount >> $seqres.full 2>&1 ; then
if [ $BLOCKSIZE -le $PAGESIZE ]; then
_fail "mount $(_scratch_mount_options $*) failed"
fi