selftest: Add test for bug #8884: wbinfo --group-info=administrator segfaults s4...
[kai/samba.git] / 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`