HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1197 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1197.


Report 1197 Actions


    Problem Report Number 1197
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0399
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification base/getgrent 3
    Problem Summary PG4U.00068 This IR claims that the test has file-based dependencies.
    Problem Text
    This IR claims that the test has file-based dependencies.

    These assertions are failing because our implementation of
    getgrent() & getpwent() (as well as endgrent() & endpwent() )
    are not file-based. TSD4U.00075 has already been issued to cover
    this for endgrent() & endpwent().
    Test Output
    SPEC1170TESTSUITE CASE 3
    A call to struct group *getgrent(void)
    shall return NULL when end-of-file is encountered.
    PREP: Read value of VSU_GR_ENT_COUNT from configuration file.
    This value indicates the number of entries in the
    group database on the system.
    PREP: Read GR_ENT_COUNT group entries from the group
    database. This should place us at the end-of-file.
    ERROR: getgrent returned NULL even before the end-of-file
    UNRESOLVED


    SPEC1170TESTSUITE CASE 3
    A call to struct passwd *getpwent(void)
    shall return a null pointer when an end-of-file is
    encountered.
    PREP: Read value of VSU_PW_ENT_COUNT from configuration file.
    This value indicates the number of entries in the
    user database on the system.
    PREP: Read VSU_PW_ENT_COUNT user entries from the user
    database. This should place us at the end-of-file.
    TEST: getpwent() returns NULL at the end-of-file
    by attempting to read one more entry
    ERROR: getpwent did not return NULL at the end-of-file
    FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    We believe the test is correct.

    TSD4U.00075 correctly argues that the password database utilities
    are not required to use file descriptors to perform thier functions.
    The test related to that TSD believed that file descriptors were
    necessary and were testing for them.

    The tests referenced in this submission do not check for file
    descriptors. They are checking that the functions under test
    return proper values. TSD4U.00075 does not apply here.

    The spec requires these calls to return NULL when the end of the
    database is encountered.

    The IUT is returning NULL before the end of the database, or not
    returning NULL after reaching the end of the database. This is
    probably a test suite configuration problem. If the tests worked
    at one point but have started failing recently the size of the
    respective database files have probably changed since the test
    suite was configured.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution No Resolution Given
    Review Conclusion
    We believe this request has merit but there is some ambiguity and we would
    like the opinion of the Base WG.

    Review Type Expert Group Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution No Resolution Given
    Review Conclusion
    There was no comment by the Base Working Group on the consultant's
    recommendation.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority