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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1268 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 1268.


Report 1268 Actions


    Problem Report Number 1268
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0550
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1999-03-03 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.1
    Test Identification CAPIbase/ptsname 3
    Problem Summary TSD4U.00268 This test may fail on implementations that recreate /dev/ptsname if the file does not exist within the filesystem
    Problem Text
    Per the spec for ptsname(), emphasis mine:
    "Upon failure, ptsname() returns a null pointer. This COULD occur
    if fildes is an invalid file descriptor or if the slave device name
    does not exist in the file system."

    In this release of our product,
    ptsname() calls stat() which determines that /dev/ttyp0088 does not
    exist. Since this file is always supposed to exist, it creates it on
    the fly, and then ptsname() returns /dev/ttyp0088.


    Test Output
    TEST PURPOSE #3
    A call to char *ptsname(int fildes) when the slave
    device name does not exist in the file system shall
    return NULL.
    PREP: Open master pseudo terminal
    PREP: Get slave pseuc=do terminal
    PREP: Unlock slave device
    PREP: Get name of pseudo terminal device
    PREP: Rename /dev/ttyp0088 to /dev/ttyp0088.save
    TEST: ptsname returns NULL
    ERROR: ptsname returned /dev/ttyp0088
    CLEANUP: Rename /dev/ttyp0088.save to /dev/ttyp0088
    3 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority