*** testgrp.c.orig Mon Aug 6 03:23:07 2001 --- testgrp.c Mon Aug 6 03:30:10 2001 *************** *** 37,41 **** } } ! return my_passwd && my_group ? EXIT_SUCCESS : EXIT_FAILURE; } --- 37,59 ---- } } ! if (my_passwd && my_group) { ! return EXIT_SUCCESS; ! } ! else { ! /* sm: failure here is very common during 'make check' if due to */ ! /* a problem with nsswitch.conf -- so let's be a little helpful */ ! fprintf(stderr, ! "\n" ! "+-----------------------------------------------------------+\n" ! "| Failure of 'testgrp' may be due to a mis-configured |\n" ! "| /etc/nsswitch.conf file. Please see the Glibc manual, |\n" ! "| available from |\n" ! "| http://www.gnu.org/manual/manual.html |\n" ! "| and go to the \"NSS Configuration File\" section. |\n" ! "+-----------------------------------------------------------+\n" ! "\n" ! ); ! return EXIT_FAILURE; ! } }