mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
f170290a83
commit
bbe5d55a0b
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user