patch more_set_prog_path

This commit is contained in:
Eric Sandeen
2009-04-19 15:48:48 -05:00
parent 1525236a3b
commit b2fcff900d
11 changed files with 91 additions and 84 deletions
+4 -4
View File
@@ -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