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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0563 Actions


    Problem Report Number 0563
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0167
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Commands and Utilities V3 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.0.1
    Test Identification XOPEN.cmd/ipcs 1007
    Problem Summary PG4C.00110 The IR maintains that trailing white space is allowed at the end of the ipcs header line
    Problem Text

    The expected value for this assertion is wrong. The test setups
    the expected value using the following code:

    expected=$(date "+IPC status from [^ ].* as of %a %b %e %H:%M:00 %Z %Y$")

    The trailing "$" is not required.
    Test Output
    ***********************************************************************
    /tset/XOPEN.cmd/ipcs/ipcs.ex 1 Failed


    Test Information:
    Assertion #1007 (A): Line one heading
    Trying again in case time did not match
    Heading did not match expected output
    Expected expression: IPC status from [^ ].* as of Wed Dec 1
    <LC> 0 11:01:00 CST 1997$
    Actual heading : IPC status from /dev/mem as of Wed Dec
    <LC> 10 11:01:00 1997

    ***********************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    Our opinion differs.

    We believe this test is failing because the actual header output by
    the ipcs command does not include the %Z portion of the date format.
    This is the "CST" portion of the expected string. It is mandatd by
    the first paragraph in the ipcs STDOUT section, which states

    An introductory line is written in the format:

    "IPC status from %s as of %s\n", <source>, <date>

    where ... <date> is the information that would be produced by the
    command:

    date

    The date command STDOUT section states that

    When no formatting operand is specified, the output in the
    POSIX locale is equivalent to specifying:

    date "+%a %b %e %H:%M:%S %Z %Y"

    Thus %Z output is required.

    Even if this were not true we believe the submitters assertion
    that trailing white space after the year is legal is wrong.
    The format specification for the ipcs header line mandates
    a newline immediately following the date output. And the default
    date format explictly states that there is no white space after
    the %Y argument. Even if this were not true we maintain that
    chapter 3 of the XBD disallows such trailing white space in general.

    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