* [PATCH] xfs/263: skip test if Q_XGETQSTAT has been supported by kernel and xfsprogs
@ 2016-09-09 8:30 Xiao Yang
2016-09-09 8:39 ` Xiao Yang
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2016-09-09 8:30 UTC (permalink / raw)
To: fstests; +Cc: sandeen, Xiao Yang
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
tests/xfs/263 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/xfs/263 b/tests/xfs/263
index 1dc47ae..01bbe3b 100755
--- a/tests/xfs/263
+++ b/tests/xfs/263
@@ -58,6 +58,10 @@ _require_xfs_quota
_require_xfs_mkfs_crc
_require_xfs_crc
+#check if Q_XGETQSTAT has been supported by kernel and xfsprogs
+grep -q 'Q_XGETQSTATV' /usr/include/linux/dqblk_xfs.h || _notrun "Q_XGETQSTAT hasn't been supported by kernel"
+grep -q 'Q_XGETQSTATV' /usr/include/xfs/xqm.h || _notrun "Q_XGETQSTAT hasn't been supported by xfsprogs"
+
rm -f $seqres.full
function option_string()
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfs/263: skip test if Q_XGETQSTAT has been supported by kernel and xfsprogs
2016-09-09 8:30 [PATCH] xfs/263: skip test if Q_XGETQSTAT has been supported by kernel and xfsprogs Xiao Yang
@ 2016-09-09 8:39 ` Xiao Yang
0 siblings, 0 replies; 2+ messages in thread
From: Xiao Yang @ 2016-09-09 8:39 UTC (permalink / raw)
To: Xiao Yang; +Cc: fstests, sandeen
On 2016/09/09 16:30, Xiao Yang wrote:
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> ---
> tests/xfs/263 | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/xfs/263 b/tests/xfs/263
> index 1dc47ae..01bbe3b 100755
> --- a/tests/xfs/263
> +++ b/tests/xfs/263
> @@ -58,6 +58,10 @@ _require_xfs_quota
> _require_xfs_mkfs_crc
> _require_xfs_crc
>
> +#check if Q_XGETQSTAT has been supported by kernel and xfsprogs
> +grep -q 'Q_XGETQSTATV' /usr/include/linux/dqblk_xfs.h || _notrun "Q_XGETQSTAT hasn't been supported by kernel"
> +grep -q 'Q_XGETQSTATV' /usr/include/xfs/xqm.h || _notrun "Q_XGETQSTAT hasn't been supported by xfsprogs"
> +
> rm -f $seqres.full
>
> function option_string()
sorry, please ignore this mail, i will resend it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-09 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 8:30 [PATCH] xfs/263: skip test if Q_XGETQSTAT has been supported by kernel and xfsprogs Xiao Yang
2016-09-09 8:39 ` Xiao Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox