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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0007 Actions


    Problem Report Number 0007
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0007
    Raised 1992-09-04 08:00
    Updated 2003-03-13 08:00
    Published 1992-09-24 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification XPG4.os/genuts/getopt 4
    Problem Summary TSD4.007 See Known Problem 9 in the VSX4.2.3 Release Notes. This test specifies the exact output format for getopt(). POSIX.2 and XCU have the words "unspecified format".
    Problem Text
    See Known Problem 9 in the VSX4.2.3 Release Notes.

    This test specifies the exact output format for getopt().
    POSIX.2 and XCU have the words "unspecified format".
    Test Output
    ************************************************************************
    /tset/XPG4.os/genuts/getopt/T.getopt 4 Failed

    Test Description:
    The formats of the diagnostics printed to standard error by a call to
    getopt() in the POSIX locale are as follows:
    "%s: illegal option -- %c\n", <program name>, <option character>
    "%s: option requires an argument -- %c\n", <program name>, <option
    character>

    Test Strategy:
    PARENT process will
    CREATE [child process|process pair]
    CHILD process will
    SET locale to POSIX
    REDIRECT standard error to file
    CALL getopt(targc, targv, optstring)
    VERIFY that diagnostics are written to standard error
    VERIFY that format of diagnostics are as expected

    Test Information:
    getopt() : Incorrect diagnotic output to standard error:-
    Expected return value '?'
    Actual return value '?'
    Expected diagnostic output :-
    pname: illegal option -- a
    Actual diagnostic output :-
    pname: ERROR: Illegal option -- a
    getopt() : Incorrect diagnotic output to standard error:-
    Expected return value '?'
    Actual return value '?'
    Expected diagnostic output :-
    pname: option requires an argument -- a
    Actual diagnostic output :-
    pname: ERROR: Option requires an argument -- a
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is agreed to be a test suite fault in VSX 4.2.3 and a permanent waiver
    is recommended.

    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 in VSX 4.2.3.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority