selftest: fix acl_xattr test: grep ouput before munging
authorRalph Boehme <slow@samba.org>
Sun, 8 Oct 2017 09:16:27 +0000 (11:16 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 9 Oct 2017 21:01:17 +0000 (23:01 +0200)
commit1fabe25339166e381ab0e118667f9c19781b49df
treed638911fe508141c0321cdec23c50240cd4a2034
parent71a2d06a1e41a1c412c82e58b3966e14c29c6159
selftest: fix acl_xattr test: grep ouput before munging

The check of the smbclient getfacl output for presence of a "^# group:"
line must be done before munging the saved output with a sed filter.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/script/tests/test_acl_xattr.sh