Signed-off-by: Wang Shilong <wangshilong1991@xxxxxxxxx>
---
i didn't find a way to remove filefrag here, but let us
use macro firstly...
---
tests/btrfs/004 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/btrfs/004 b/tests/btrfs/004
index 1d5b816..1f59963 100755
--- a/tests/btrfs/004
+++ b/tests/btrfs/004
@@ -53,7 +53,6 @@ _supported_os Linux
_require_scratch
_require_no_large_scratch_dev
_require_btrfs inspect-internal
-_require_command "/usr/sbin/filefrag"
rm -f $seqres.full
@@ -82,7 +81,7 @@ _filter_extents()
_check_file_extents()
{
- cmd="filefrag -v $1"
+ cmd="$FILEFRAG_PROG -v $1"
echo "# $cmd" >> $seqres.full
out=`$cmd | _filter_extents`
if [ -z "$out" ]; then
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html