shared/051: add filter to match the golden output for large acls

On old kernel we return EINVAL if hit the limits of maximum number of
ACLs but return E2BIG on new kernel, which cause the test failes on new
kernel as the output is mismatch to the goldens. This patch fix it by
updating the golden output with the new error message and replacing the
old error message with it via a filter.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Jie Liu
2014-03-13 15:20:18 +11:00
committed by Dave Chinner
parent 8acf172beb
commit 5f6be5c6d2
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ mask::rwx
other::rwx
1 above xfs acl max
chacl: cannot set access acl on "largeaclfile": Invalid argument
chacl: cannot set access acl on "largeaclfile": Argument list too long
# file: largeaclfile
# owner: 0
# group: 0