]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
shared/051: add filter to match the golden output for large acls
authorJie Liu <jeff.liu@oracle.com>
Thu, 13 Mar 2014 04:20:18 +0000 (15:20 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 13 Mar 2014 04:20:18 +0000 (15:20 +1100)
commit5f6be5c6d29784d6d0a5ef19f51e7a80c89c8a3a
treed6b30ea73113e48734c8fc3c5ba53e9b1dd8739d
parent8acf172beb37e56a93910cd7f0db2d3098dea1b6
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>
tests/shared/051
tests/shared/051.out