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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1047 Actions


    Problem Report Number 1047
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0286
    Raised 2002-06-14 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.1.3
    Test Identification POSIX.cmd/dd 8
    Problem Summary PG4C.00138 This IR claims that dd is not required to support "--" as a first argument.
    Problem Text
    ga28 is designed to test compliance with the XBD specification,
    Utility Syntax Guidelines, Guideline 10.

    General Assertion 28:
    ----------------------------------------------------------------------
    ga28 - The characters -- can be specified to a command which accepts
    operands to delimit the end of options. Any arguments following the
    -- which start with a - are considered by the command to be operands
    and not as options.
    ----------------------------------------------------------------------

    Guideline 10:
    ----------------------------------------------------------------------
    The argument -- should be accepted as a delimiter indicating the end
    of options. Any following arguments should be treated as operands,
    even if they begin with the "-" character. The -- argument should not
    be used as an option or as an operand. Applications calling any
    utility with a first operand starting with - should usually specify
    --, as indicated by Guideline 10, to mark the end of the options. This
    is true even if the SYNOPSIS in the XCU specification does not specify
    any options; implementations may provide options as extensions to the
    XCU specification. The standard utilities that do not support
    Guideline 10 indicate that fact in the OPTIONS section of the utility
    description.
    ----------------------------------------------------------------------

    Unlike most of the SUS commands, the dd specification does not require
    conformance to Guideline 10 of the Utility Conventions. In those
    cases where XBD conformance is expected, the requirement is
    explicitly provided in the specification.

    We believe the test is in error, testing for a criteria that is not
    required by the standard.

    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/dd/dd.ex 1 Failed


    Test Information:
    Assertion #8 (A): Verify output of ga28.
    Expected exit code = 0; Received 1

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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    Part of the XCU5 text quoted by the submitter is "The standard
    utilities that do not support Guideline 10 indicate that fact in the
    OPTIONS section of the utility description." The OPTIONS section of
    the dd description does not state that it does not support Guideline 10.

    The requirement for dd to support "--" as a first argument is also
    clear from section 1.9 "Utility Description Defaults", under the
    subheading "OPTIONS":

    Default Behaviour: When this section is listed as "None", it
    means that the implementation need not support any options.
    Standard utilities that do not accept options, but that do accept
    operands, will recognise -- as a first argument to be discarded.

    In the case of dd, it has "None" in the OPTIONS section, and it does
    accept operands, so the default behaviour described here does apply.

    It is known that many currently branded systems do not comply with
    this requirement. It is not a new requirement, it just was not
    reported by previous versions of VSC, owing to a fault in the test.

    It is recommended that this request is refused.

    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