[PATCH 1/2] Fix test 298 to work for non-XFS filesystems
Jan Kara
jack at suse.cz
Tue May 7 17:09:32 CDT 2013
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 at suse.cz>
---
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
More information about the xfs
mailing list