From 766b997b78bfafae884aa2900b4fd67c90b28a06 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sun, 19 Apr 2009 21:10:42 -0500 Subject: [PATCH] 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 Reviewed-by: Felix Blyakher --- 042 | 2 ++ 111 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/042 b/042 index 7c2bcac4..66280408 100755 --- a/042 +++ b/042 @@ -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 ' diff --git a/111 b/111 index 060c0bc5..3ce4ee1d 100755 --- a/111 +++ b/111 @@ -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" -- 2.39.5