I built cvs-1.11 on about 10 UNIX flavors over the weekend, using the
canonical
./configure && make all check install
Most succeeded. However, on Sun Solaris 2.7, the check failed like
this:
% make check
...
/bin/sh ./sanity.sh `pwd`/cvs
This test should produce no other output than this line, and a final "OK".
id: illegal option -- u
Usage: id [user]
id -a [user]
Notice: The default version of id is defective, using
/usr/local/bin/gid instead.
lid: invalid option -- u
Try `lid --help' for more information.
expr: RE error
Test suite does not work correctly when run by a username
containing regular expression meta-characters.
make[1]: *** [check] Error 1
Indeed, compare the behavior of id on various systems:
Apple Macintosh GNU/Linux 2.2.15pre9:
% /usr/bin/id -a
uid=607(beebe) gid=607(beebe) groups=607(beebe),100(users)
% /usr/bin/id -u beebe
607
Compaq/DEC Alpha OSF/1 4.0:
/usr/ucb/id -a
usage: id [user]
id -G [-n] [user]
id -g [-nr] [user]
id -u [-nr] [user]
/usr/ucb/id -u beebe
887
IBM RS/6000 AIX 4.2:
% /usr/bin/id -a
usage: id [user]
id -G [-n] [user]
id -g [-nr] [user]
id -u [-nr] [user]
% /usr/bin/id -u beebe
887
Intel x86 GNU/Linux 2.2.17-14 (Red Hat 6.2):
% /usr/bin/id -a
uid=887(beebe) gid=10(wheel)
groups=10(wheel),73(wwwdept),87(wwserve),50(ftp),887(beebe),75(wwwusac)
% /usr/bin/id -u beebe
887
Intel x86 FreeBSD 4.1.1-RELEASE:
% /usr/bin/id -a
id: illegal option -- a
usage: id [user]
id -G [-n] [user]
id -P [user]
id -g [-nr] [user]
id -p [user]
id -u [-nr] [user]
% /usr/bin/id -u beebe
118
SGI IRIX 6.5:
% /usr/bin/id -a
uid=887(beebe) gid=10(nuucp)
groups=10(nuucp),73(wwwdept),87(wwserve),50(student),887(beebe),75(wwwusac)
% /usr/bin/id -u beebe
887
Sun SPARC GNU/Linux 2.2.17-14 (Red Hat 6.2):
% /usr/bin/id -a
uid=887(beebe) gid=10(wheel)
groups=10(wheel),73(wwwdept),87(wwserve),50(ftp),887(beebe),75(wwwusac)
% /usr/bin/id -u
887
Sun SPARC Solaris 2.7:
% /bin/id -a
uid=887(beebe) gid=10(staff)
groups=73(wwwdept),87(wwserve),50(student),887(beebe),75(wwwusac)
% /bin/id -u beebe
/bin/id: illegal option -- u
Usage: id [user]
id -a [user]
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah Internet e-mail: [EMAIL PROTECTED] -
- Department of Mathematics, 322 INSCC [EMAIL PROTECTED] [EMAIL PROTECTED] -
- 155 S 1400 E RM 233 [EMAIL PROTECTED] -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs