]> git.ipfire.org Git - thirdparty/samba.git/commit
selftest: fix for wbinfo -s tests for wellknown SIDs
authorRalph Boehme <slow@samba.org>
Fri, 31 Mar 2017 14:06:18 +0000 (16:06 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Apr 2017 10:23:18 +0000 (12:23 +0200)
commitb6ea6f764c044f248b19fce3b2ccfb71bc02075e
tree9af537efc7dd527071d0c2ecab0fb57226730369
parent5083579048b8c5b810868550be2230a1f9519c05
selftest: fix for wbinfo -s tests for wellknown SIDs

Rework while loop to not use a pipe as that uses a subshell for the loop
which means assigning to the variable failed is not visible in the
main script.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit d8fd56a8244a3010469c27eaa3b73a2c5fbbc41f)
nsswitch/tests/test_wbinfo.sh