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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1460 Actions


    Problem Report Number 1460
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0742
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-11-17 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.0
    Test Identification base/fstat 3
    Problem Summary TSD4U.00072 The test may fail on implementations that define other bits in the st_mode field in addition to S_IFSOCK.
    Problem Text
    The test may fail on implementations that define other bits in the
    st_mode field in addition to S_IFSOCK.

    The test checks to see if the file is of type socket using

    st_mode == S_IFSOCK

    An implementation may define other bits in the st_mode field other
    than those required for S_IFSOCK, and may cause the test to fail
    since the S_ISSOCK file type macro is not being used.
    Test Output
    00|0 1 10:18:47|TP Start
    20|0 1 15400977 1 1|SPEC1170TESTSUITE CASE 3
    20|0 1 15400977 1 2|If the implementation supports a communications doma
    20|0 1 15400977 1 3|and a socket type:
    20|0 1 15400977 1 4|A call to int fstat(int fildes, struct stat *buf) wh
    20|0 1 15400977 1 5|fildes references a socket shall set the st_mode
    20|0 1 15400977 1 6|member of the stat structure pointed to by buf to
    20|0 1 15400977 1 7|S_IFSOCK.
    20|0 1 38469636 1 1|DEBUG: Entering capi_sock/cconfig.c:checkconfig()
    20|0 1 38469636 1 2|DEBUG: Exiting capi_sock/cconfig.c:checkconfig()
    20|0 1 38469636 1 3|TEST: AF_INET SOCK_STREAM
    20|0 1 38469636 1 4|PREP: Create socket
    20|0 1 38469636 1 5|PREP: Stat socket
    20|0 1 38469636 1 6|TEST: S_IFSOCK set in st_mode
    20|0 1 38469636 1 7|ERROR: st_mode not set correctly
    20|0 1 38469636 1 8| Expected 0x7000000, received 0x70001ff
    20|0 1 1 10:18:54|FAIL
    10|0 3 1 10:18:54|IC End

    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