mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
patch more_set_prog_path
This commit is contained in:
@@ -30,7 +30,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
|
||||
_attr()
|
||||
{
|
||||
attr $* 2>$tmp.err >$tmp.out
|
||||
$ATTR_PROG $* 2>$tmp.err >$tmp.out
|
||||
exit=$?
|
||||
sed \
|
||||
-e "s#$SCRATCH_MNT[^ .:]*#<TESTFILE>#g" \
|
||||
@@ -45,7 +45,7 @@ _attr()
|
||||
|
||||
_getfattr()
|
||||
{
|
||||
getfattr $* 2>$tmp.err >$tmp.out
|
||||
$GETFATTR_PROG $* 2>$tmp.err >$tmp.out
|
||||
exit=$?
|
||||
sed \
|
||||
-e "s#$SCRATCH_MNT[^ .:]*#<TESTFILE>#g" \
|
||||
@@ -62,8 +62,8 @@ _getfattr()
|
||||
_supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
[ -x /usr/bin/attr ] || _notrun "attr is not installed"
|
||||
[ -x /usr/bin/getfattr ] || _notrun "getfattr is not installed"
|
||||
[ -x $ATTR_PROG ] || _notrun "attr is not installed"
|
||||
[ -x $GETFATTR_PROG ] || _notrun "getfattr is not installed"
|
||||
|
||||
_require_scratch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user