generic/590: skip test if kernel doesn't support realtime
authorYang Xu <xuyang2018.jy@cn.fujitsu.com>
Thu, 26 Dec 2019 06:48:36 +0000 (14:48 +0800)
committerEryu Guan <guaneryu@gmail.com>
Mon, 6 Jan 2020 09:38:59 +0000 (17:38 +0800)
commit64954c0ead685841eda7773639ea9bed008b3e80
tree36b815a894733e1d2a4851986ba33418ce05281a
parent7b3ddeec674eada8bff5664a3cc99a1d0f4da07e
generic/590: skip test if kernel doesn't support realtime

IMHO, if kernel doesn't supprt realtime, we should skip test.
So add it. Also, when we use _scratch_mkfs on xfs, we will get
the following error:
mkfs failed with extra mkfs options added to "-bsize=4096" by test 590 **

This failure occurs because we have used "export XFS_MKFS_OPTIONS=
${XFS_MKFS_OPTIONS:=-bsize=4096}" in common/config, we don't need to
set it again in extra_options, so remove it.

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/590