From bbe5d55a0b64149241096b1ecbc7df64e065df41 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 18 Jun 2014 09:34:03 +1000 Subject: [PATCH] xfs/279: use MKFS_XFS_PROG, not hardcoded path I'm really not sure why this wasn't this way from the start. On some systems it's in /usr/sbin, and the test fails. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- tests/xfs/279 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/279 b/tests/xfs/279 index 872f8be0..cde7d21e 100755 --- a/tests/xfs/279 +++ b/tests/xfs/279 @@ -62,7 +62,7 @@ _check_mkfs() { echo "===================" echo "mkfs with opts: $@" | sed -e "s,/dev/sd.,DEVICE," - /sbin/mkfs.xfs $@ 2>/dev/null > $tmp.mkfs.full + $MKFS_XFS_PROG $@ 2>/dev/null > $tmp.mkfs.full if [ $? -ne 0 ]; then echo "Failed." return -- 2.30.2