Problem Report Number |
0484 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.X.0103 |
Raised |
1995-01-04 08:00 |
Updated |
2003-03-13 08:00 |
Published |
null |
Product Standard |
Internationalised System Calls and Libraries (XPG4) |
Certification Program |
The Open Brand certification program |
Test Suite |
VSX4 version 4.3.4 |
Test Identification |
XOPEN.os/procenv/cuserid 1, 2 |
Problem Summary |
PG4R.104 Tests 1 and 2 of XOPEN.os/procenv/cuserid expect the cuserid() function to return "vsx1" for a process. Some implementations do not allow lower-case userids. There is no requirement in the standards t... |
Problem Text |
Tests 1 and 2 of XOPEN.os/procenv/cuserid expect the cuserid() function to return "vsx1" for a process. Some implementations do not allow lower-case userids. There is no requirement in the standards that systems support lower-case userids and it is improper for the VSX4 suite to expect a compliant system to support them.
We believe that names of all userids (including "vsx1") should be tailorable in tetexec.cfg so that the choice of userids is left up to the whoever is executing the suite.
|
Test Output |
/tset/XOPEN.os/procenv/cuserid/T.cuserid 1.Failed
Test Description: A successful call to cuserid() when the argument is not a NULL pointer returns its argument which addresses a string containing the real or effective user name associated with the current process. In XPG3 mode a Warning result is given if the real user name is returned rather than the effective user name.
Test Strategy: VERIFY that effective user id is vguid1 VERIFY that effective user id differs from real user id CREATE child process CHILD process will CALL cuserid(s) VERIFY that cuserid() returns real or effective user id SET effective user id to real user id by calling setuid() VERIFY that effective user id matches real user id CALL cuserid(s) VERIFY that cuserid() returns real or effective user id
Test Information: cuserid(buf) returned "VSX1", expected "vsx1" current effective UID = 41, real UID = 40
|