summaryrefslogtreecommitdiff
path: root/nsswitch/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-23 13:52:17 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-23 07:44:50 +0200
commit9ea9ad2de00749e32107975611a3adfa71d7b9f3 (patch)
treea3ac9c1096d7d3ad15de3f88259f481b98a272c2 /nsswitch/tests
parent832dd41551bf6bc47906a3a90d72ed758528c48a (diff)
downloadsamba-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-xnsswitch/tests/test_wbinfo.sh2
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`