fstests: filter redundant output by getfattr
[xfstests-dev.git] / tests / ext4 / 026
index f651fe6e6ee5616fce9d717d66988c2579a9da1c..5e0e887957009e0af91a171896ca974c50ae576e 100755 (executable)
@@ -51,14 +51,14 @@ attr_set()
                $SETFATTR_PROG -n $name $file
        fi
 
-       tmp=$($GETFATTR_PROG --absolute-names --only-values -n $name $file)
+       tmp=$(_getfattr --absolute-names --only-values -n $name $file)
        [[ "$tmp" == "$value" ]] || echo "unexpected value returned: $tmp"
 }
 
 # List attributes on a file.
 attr_list()
 {
-       $GETFATTR_PROG --absolute-names $1 | grep -v '^#'
+       _getfattr --absolute-names $1 | grep -v '^#'
 }
 
 # Removes an extended attribute from a file.