selftest: Add test for bug #8884: wbinfo --group-info=administrator segfaults s4...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 23 Apr 2012 03:52:17 +0000 (13:52 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 23 Apr 2012 05:44:50 +0000 (07:44 +0200)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr 23 07:44:50 CEST 2012 on sn-devel-104

nsswitch/tests/test_wbinfo.sh

index 52e203f02dfe3278307b417fcc5e9ad3b00c9700..461d7801c2f3b5db881254053263ddef64c14f1e 100755 (executable)
@@ -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`