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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0408 Actions


    Problem Report Number 0408
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0027
    Raised 1993-08-03 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.2.4
    Test Identification ANSI.os/streamio/fseek 12
    Linked Problem Reports PG3.663, (in, old, system)
    Problem Summary PG4R.027
    Problem Text
    Test Output
    ************************************************************************
    /tset/ANSI.os/streamio/fseek/T.fseek 12 Failed

    Test Description:
    ESPIPE in errno and a non-zero return value when fseek() is called and
    the stream pointer is associated with a pipe or FIFO.
    Posix Ref: Component FSEEK Assertion 8.2.3.11-10(A)

    Test Strategy:
    CREATE FIFO using mkfifo()
    SET timeout using SET_TIMEOUT
    OPEN FIFO readonly and nonblocking using open()
    CLEAR alarm using CLEAR_ALARM
    SET timeout using SET_TIMEOUT
    OPEN FIFO writeonly and nonblocking using open()
    CLEAR alarm using CLEAR_ALARM
    OPEN stream on read side of FIFO using fdopen()
    WRITE string to FIFO
    READ byte from stream using getc()
    VERIFY first byte of string was read
    CALL fseek() on stream
    VERIFY that a non-zero value was returned and errno was set to ESPIPE
    READ byte from stream using getc()
    VERIFY second byte of string was read
    OPEN pipe from subprogram which writes a string to stdout, using
    popen()
    READ byte from stream using getc()
    VERIFY first byte of string was read
    CALL fseek() on stream
    VERIFY that a non-zero value was returned and errno was set to ESPIPE
    READ byte from stream using getc()
    VERIFY second byte of string was read

    Test Information:
    getc() after fseek() on FIFO did not return next byte written to FIFO
    getc() after fseek() on pipe did not return next byte written to pipe
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The applicant should refer to temporary interpretation TIN4.004.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    Please refer to TIN4.004.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority