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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0762 Actions


    Problem Report Number 0762
    Submitter's Classification Specification problem
    State Resolved
    Resolution Temporary Interpretation (TIN)
    Problem Resolution ID TIN.X.0053
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-09-09 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.4
    Test Identification POSIX.upe/ex/ex 149, 150
    Specification Commands and Utilities Issue 4 Version 2
    Location in Spec See Problem Text
    Problem Summary TIN4C.00008 Test fails on implementations which follow historical (1003.2b) behavior.
    Problem Text
    The following incorrectly documents historical practice and is the subject of
    a PASC 1003.2-92 interpretation concerning Ex and Vi :

    POSIX.2 section 5.10.7.2.8 page 525 lines 1395-1396 :
    If file is omitted or results in the current file, the current line
    indicator shall not be changed.

    Historically, the current line is set differently depending on the edit mode
    and arguments given. In this particular case, when the file is omitted or
    results in current file, the current line is set to the first line of the edit
    buffer.

    The historical behaviour is adopted in POSIX.2b draft.11 section
    5.10.7.5.8 page 146 lines 1004-1008 which states

    Otherwise if file is omitted or results in the current pathname:

    Current Line:

    Set to the first line of the edit buffer.

    We believe the test should allow either behavior in anticipation
    of 1003.2b being approved, the XPG spec being realigned with it,
    and the tests needing aligned with the XPG spec.
    Test Output
    200|7 1 07:42:29|TP Start
    520|7 1 57212934 1 1|Assertion #149 (C): edit without file argument does not cha
    520|7 1 57212934 1 1|Note: The behavior associated with this assertion is expect
    520|7 1 57212934 1 2|to change in a future revision of POSIX.2.
    520|7 1 57212934 1 3|expected current line 5, was line 6
    520|7 1 57212934 1 4|Command failed: 'checkline ex_data_1 5'
    220|7 1 1 07:42:50|FAIL
    410|7 149 1 07:42:50|IC End

    400|7 150 1 07:42:52|IC Start
    200|7 1 07:42:53|TP Start
    520|7 1 57212934 1 1|Assertion #150 (C): edit <current file> does not change cur
    520|7 1 57212934 1 1|Note: The behavior associated with this assertion is expect
    520|7 1 57212934 1 2|to change in a future revision of POSIX.2.
    520|7 1 57212934 1 3|expected current line 5, was line 6
    520|7 1 57212934 1 4|Command failed: 'checkline ex_data_1 5'
    220|7 1 1 07:43:11|FAIL
    410|7 150 1 07:43:12|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    Anticipating acceptance of the completely rewritten ex specification
    in POSIX 2003.2b/D11 and the eventual alignment of the tests with it
    a temporary interpretation is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Temporary Interpretation (TIN)
    Review Conclusion
    A Temporary Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority