fstests: add a filter for the new getcap output
[xfstests-dev.git] / common / rc
index 23095d4f2db5cc194554684f1e15e42ddf85ba98..27a27ea36f75336556250e53ad1c52072b71273c 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -4315,6 +4315,12 @@ _require_mknod()
        rm -f $TEST_DIR/$seq.null
 }
 
+_getcap()
+{
+       $GETCAP_PROG "$@" | _filter_getcap
+       return ${PIPESTATUS[0]}
+}
+
 init_rc
 
 ################################################################################