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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2391 Actions


    Problem Report Number 2391
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0657
    Raised 2004-06-08 03:22
    Updated 2004-06-09 14:14
    Published 2004-06-09 14:14
    Product Standard Commands and Utilities V3 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.2.5
    Test Identification POSIX.shell/shell/sh_05.ex 357
    Specification Commands and Utilities Issue 5
    Problem Summary sh_05 #357 tests for oct and hex expansions which are part of SUSv3.
    Problem Text The hex and oct expansions tested were added to SUSv3 TC2 and should
    not be tested in UNIX98 mode.

    Test Output
    ***********************************************************************
    /tset/POSIX.shell/shell/sh_05.ex 357 Failed


    Test Information:
    Assertion #357 (A): arthimetic expansion according to the rules
    for
    Arithmetic Precision and Operations
    Command failed: '([ $((b)) -eq 8 ])'
    Command failed: '([ $((c)) -eq 16 ])'


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

    Review Information

    Review Type TSMA Review
    Start Date 2004-06-08 03:22
    Last Updated 2004-06-08 18:08
    Completed 2004-06-08 18:08
    Status Complete
    Review Recommendation Rejected (REJ)
    Review Response The new part of the test that is failing here is not specifically a test
    of octal and hex notation. It is a test that shell variables which
    contain a sequence of bytes that form a valid integer constant, when
    used in an arithmetic expression, evalutate to the same value that the
    constant would have if used directly in the expression. For example the
    expression $((010)) expands to the decimal value 8 (and there has been
    a test for this since long before SUSv3); the new part of the test
    verifies that when shell variable b contains 010 the expression $((b))
    expands to the same value as $((010)).

    This is not a new requirement in SUSv3, it is required by POSIX.1-1992
    (and therefore SUSv1 and SUSv2), as confirmed in PASC interpretation
    1003.2-92 #208. See in particular part 6 of that interpretation.

    Review Type SA Review
    Start Date 2004-06-08 17:08
    Last Updated 2004-06-09 01:10
    Completed 2004-06-09 01:10
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion The TSMA asserts that the mode of failure for this test relates to
    behavior which is core to Posix and not to functionality in SuSv3, and
    that this is not a new requirement in SUSv3, it is required by POSIX.1-
    1992 (and therefore SUSv1 and SUSv2), as confirmed in PASC
    interpretation 1003.2-92 #208. See in particular part 6 of that
    interpretation.

    The SA concurs and thus this PR is rejected as a TSD.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority