xfstests: skip fsr tests if xfs_fsr utils not found

Similar to the xfsdump-related patch; gracefully fail
if no xfs_fsr is found.

I'll probably send another for the acl & attr userspace,
it's actually not always installed on minimal boxes.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
This commit is contained in:
Eric Sandeen
2009-04-19 21:10:42 -05:00
parent 37521c6718
commit 766b997b78
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -37,6 +37,8 @@ _supported_os IRIX Linux
_require_scratch
[ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
_cull_files()
{
perl -e "\$manifest=\"$tmp.manifest\";" -e '
+2
View File
@@ -27,6 +27,8 @@ _supported_fs xfs
_supported_os Linux
_require_scratch
[ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
# real QA test starts here
umount $SCRATCH_DEV 2>/dev/null
MKFS_OPTIONS="-bsize=4096"