All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junho Ryu <jayr@google.com>
To: xfs@oss.sgi.com
Cc: tytso@mit.edu, hughd@google.com, branto@redhat.com,
	Junho Ryu <jayr@google.com>
Subject: [PATCH v2 04/12] xfstests: rename _require_xfs_io_fiemap to _require_fiemap
Date: Tue, 17 Dec 2013 14:18:34 -0800	[thread overview]
Message-ID: <1387318722-3050-4-git-send-email-jayr@google.com> (raw)
In-Reply-To: <1387318722-3050-1-git-send-email-jayr@google.com>

Rename the function because we need both xfs_io and kernel support for
the check, and we need xfs_io support to check for kernel support.

Signed-off-by: Junho Ryu <jayr@google.com>
---

v2: new patch

 common/defrag     | 2 +-
 common/rc         | 2 +-
 tests/generic/255 | 2 +-
 tests/generic/316 | 2 +-
 tests/shared/298  | 2 +-
 tests/xfs/252     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/common/defrag b/common/defrag
index a4bc976..81b58e7 100644
--- a/common/defrag
+++ b/common/defrag
@@ -38,7 +38,7 @@ _require_defrag()
     esac
 
     _require_command $DEFRAG_PROG
-    _require_xfs_io_fiemap
+    _require_fiemap
 }
 
 _extent_count()
diff --git a/common/rc b/common/rc
index 45a45b0..1db313b 100644
--- a/common/rc
+++ b/common/rc
@@ -1281,7 +1281,7 @@ _require_xfs_io_falloc_punch()
 }
 
 # check that xfs_io, kernel and filesystem support fiemap
-_require_xfs_io_fiemap()
+_require_fiemap()
 {
 	testfile=$TEST_DIR/$$.fiemap
 	testio=`$XFS_IO_PROG -F -f -c "pwrite 0 20k" -c "fsync" \
diff --git a/tests/generic/255 b/tests/generic/255
index dd329b4..739629c 100755
--- a/tests/generic/255
+++ b/tests/generic/255
@@ -48,7 +48,7 @@ _supported_os Linux
 
 _require_xfs_io_falloc_punch
 _require_xfs_io_falloc
-_require_xfs_io_fiemap
+_require_fiemap
 
 testfile=$TEST_DIR/255.$$
 
diff --git a/tests/generic/316 b/tests/generic/316
index 8cb2975..4bb6c4a 100755
--- a/tests/generic/316
+++ b/tests/generic/316
@@ -46,7 +46,7 @@ _supported_fs generic
 _supported_os Linux
 
 _require_xfs_io_falloc_punch
-_require_xfs_io_fiemap
+_require_fiemap
 
 testfile=$TEST_DIR/$seq.$$
 
diff --git a/tests/shared/298 b/tests/shared/298
index 4541798..e8c3d48 100755
--- a/tests/shared/298
+++ b/tests/shared/298
@@ -33,7 +33,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fs ext4 xfs
 _supported_os Linux
 _require_fstrim
-_require_xfs_io_fiemap
+_require_fiemap
 _require_fs_space $TEST_DIR 307200
 [ "$FSTYP" = "ext4" ] && _require_dumpe2fs
 
diff --git a/tests/xfs/252 b/tests/xfs/252
index 00be41a..1a5133e 100755
--- a/tests/xfs/252
+++ b/tests/xfs/252
@@ -47,7 +47,7 @@ _supported_fs xfs
 _supported_os Linux
 
 _require_xfs_io_falloc_punch
-_require_xfs_io_fiemap
+_require_fiemap
 
 testfile=$TEST_DIR/252.$$
 
-- 
1.8.5.1

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2013-12-17 22:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17 22:18 [PATCH v2 01/12] xfstests: use mount point instead of device name Junho Ryu
2013-12-17 22:18 ` [PATCH v2 02/12] xfstests: _scratch_mkfs_sized() for tmpfs Junho Ryu
2013-12-18  5:33   ` Boris Ranto
2013-12-17 22:18 ` [PATCH v2 03/12] xfstests: increase tmpfs memory size Junho Ryu
2013-12-17 22:21   ` Junho Ryu
2013-12-17 22:18 ` Junho Ryu [this message]
2013-12-17 22:18 ` [PATCH v2 05/12] xfstests: fix generic/225 to check fiemap support Junho Ryu
2013-12-17 22:18 ` [PATCH v2 06/12] xfstests: fix generic/127 to call _cleanup() only once Junho Ryu
2013-12-17 22:18 ` [PATCH v2 07/12] xfstests: check O_DIRECT support before testing direct I/O Junho Ryu
2013-12-17 22:18 ` [PATCH v2 08/12] xfstests: add executable permission to tests Junho Ryu
2013-12-17 22:18 ` [PATCH v2 09/12] xfstests: skip generic/076 which cannot work on tmpfs Junho Ryu
2013-12-18  5:20   ` Boris Ranto
2013-12-17 22:18 ` [PATCH v2 10/12] xfstests: do not unmount tmpfs during remount Junho Ryu
2013-12-17 22:18 ` [PATCH v2 11/12] xfstests: do not unmount before calling _check_scratch_fs() Junho Ryu
2013-12-17 22:18 ` [PATCH v2 12/12] xfstests: check if filesystem supports chattr Junho Ryu
2013-12-17 22:23   ` Junho Ryu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387318722-3050-4-git-send-email-jayr@google.com \
    --to=jayr@google.com \
    --cc=branto@redhat.com \
    --cc=hughd@google.com \
    --cc=tytso@mit.edu \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.