public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fstests: xfs: add necessary version check for xfs/122
@ 2016-03-21  8:31 Xiaoguang Wang
  2016-03-22 22:56 ` Dave Chinner
  0 siblings, 1 reply; 4+ messages in thread
From: Xiaoguang Wang @ 2016-03-21  8:31 UTC (permalink / raw)
  To: fstests; +Cc: Wang Xiaoguang

From: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>

Since commit c0cfa5651f2d ("xfs/122: update against xfsprogs 4.3"), xfs/122
has been updated against xfsprogs 4.3, so add necessary version check.

Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
---
 tests/xfs/122 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/xfs/122 b/tests/xfs/122
index 758cb50..8b35bed 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -41,6 +41,11 @@ _supported_fs xfs
 _supported_os Linux
 _require_command "$INDENT_PROG" indent
 
+# This test has been updated against xfsprogs 4.3.
+if [ $XFSPROGS_VERSION -lt 40300 ]; then
+	_notrun "this test needs xfsprogs version >= 4.3"
+fi
+
 # filter out known changes to xfs type sizes
 _type_size_filter()
 {
-- 
1.8.3.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-29  1:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-21  8:31 [PATCH] fstests: xfs: add necessary version check for xfs/122 Xiaoguang Wang
2016-03-22 22:56 ` Dave Chinner
2016-04-27  4:55   ` Xiaoguang Wang
2016-04-29  1:05     ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox