xfs
[Top] [All Lists]

[PATCH 1/2] Fix test 298 to work for non-XFS filesystems

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/2] Fix test 298 to work for non-XFS filesystems
From: Jan Kara <jack@xxxxxxx>
Date: Wed, 8 May 2013 00:09:32 +0200
Cc: Jan Kara <jack@xxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Call to xfs_io in test 298 forgot to specify -F flag so it failed for
non-XFS filesystems.

Signed-off-by: Jan Kara <jack@xxxxxxx>
---
 tests/shared/298 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/shared/298 b/tests/shared/298
index f1a3432..d5bed1c 100644
--- a/tests/shared/298
+++ b/tests/shared/298
@@ -49,7 +49,7 @@ _cleanup()
 
 get_holes()
 {
-       $XFS_IO_PROG -c fiemap $1 | grep hole | $SED_PROG 
's/.*\[\(.*\)\.\.\(.*\)\].*/\1 \2/'
+       $XFS_IO_PROG -F -c fiemap $1 | grep hole | $SED_PROG 
's/.*\[\(.*\)\.\.\(.*\)\].*/\1 \2/'
 }
 
 get_free_sectors()
-- 
1.8.1.4

<Prev in Thread] Current Thread [Next in Thread>