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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1505 Actions


    Problem Report Number 1505
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0787
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-06-21 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.0.2
    Test Identification base/fattach 9
    Problem Summary TSD4U.00026 This test fails because it is fstat'ing the wrong file descriptor.
    Problem Text
    This test fails because it is fstat'ing the wrong file descriptor.
    The comparison

    tet_infoline("PREP: Stat named file to get device ID");
    if(fstat(origfd, &namedstat) == -1) {
    fdetach (test_file);
    unlink (test_file);
    uwerrno("fstat");
    }

    should be

    tet_infoline("PREP: Stat named file to get device ID");
    if(fstat(namedfd, &namedstat) == -1) {
    fdetach (test_file);
    unlink (test_file);
    uwerrno("fstat");
    }

    namedfd is the fd of the attached file not origfd which is the
    fd of the file that was created. The spec clearly says file descriptors
    opened before the attach continue to refer to the underlying file.
    Test Output
    520|1 1 30504 1 1|SPEC1170TESTSUITE CASE 9
    520|1 1 30504 1 3|A successful call to int fattach(int fildes, const
    520|1 1 30504 1 4|char *path) shall initialize the device identifier of
    520|1 1 30504 1 5|the named STREAMS file to that of the STREAMS file
    520|1 1 30504 1 6|associated with fildes.
    520|1 1 30559 1 1|PREP: Create a pipe
    520|1 1 30559 1 2|PREP: Determine if pipe is a stream
    520|1 1 30559 1 3|PREP: Open master pseudo tty
    520|1 1 30559 1 4|PREP: Determine if pseudo tty is a stream
    520|1 1 30559 1 5|PREP: Open slave side of pseudo tty
    520|1 1 30559 1 6|PREP: Create file for fattach
    520|1 1 30559 1 7|PREP: Stat STREAMS file to get device ID
    520|1 1 30559 1 8|PREP: Attach STREAM to file
    520|1 1 30559 1 9|PREP: Open named file
    520|1 1 30559 1 10|PREP: Stat named file to get device ID
    520|1 1 30559 1 11|TEST: Permissions initialized to that of STREAMS file
    520|1 1 30559 1 12|ERROR: Device ID not initialized correctly
    520|1 1 30559 1 13| Expected 0x800c00
    520|1 1 30559 1 14| Received 0x800806
    220|1 1 1 16:30:31|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