diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-23 13:52:17 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-23 07:44:50 +0200 |
commit | 9ea9ad2de00749e32107975611a3adfa71d7b9f3 (patch) | |
tree | a3ac9c1096d7d3ad15de3f88259f481b98a272c2 /nsswitch/tests | |
parent | 832dd41551bf6bc47906a3a90d72ed758528c48a (diff) | |
download | samba-9ea9ad2de00749e32107975611a3adfa71d7b9f3.tar.gz samba-9ea9ad2de00749e32107975611a3adfa71d7b9f3.tar.bz2 samba-9ea9ad2de00749e32107975611a3adfa71d7b9f3.zip |
selftest: Add test for bug #8884: wbinfo --group-info=administrator segfaults s4-winbindd
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr 23 07:44:50 CEST 2012 on sn-devel-104
Diffstat (limited to 'nsswitch/tests')
-rwxr-xr-x | nsswitch/tests/test_wbinfo.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/tests/test_wbinfo.sh b/nsswitch/tests/test_wbinfo.sh index 52e203f02d..461d7801c2 100755 --- a/nsswitch/tests/test_wbinfo.sh +++ b/nsswitch/tests/test_wbinfo.sh @@ -185,6 +185,8 @@ else failed=`expr $failed + 1` fi +testfail "wbinfo --group-info against $TARGET with $USERNAME" $wbinfo --group-info $USERNAME && failed=`expr $failed + 1` + gid=`echo $rawgid | sed 's/.*:\([0-9][0-9]*\):/\1/'` testit "wbinfo --gid-info against $TARGET" $wbinfo --gid-info $gid || failed=`expr $failed + 1` |