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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0903 Actions


    Problem Report Number 0903
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0418
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-09-20 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/vi 139
    Problem Summary TSD4C.00091 This test may fail on all implementations because of a bad expected output file.
    Problem Text
    This test may fail on all implementations because of a bad expected
    output file.

    This test fails because the expected output file does not contain
    trailing spaces at the end of 2 lines. Using an X to mark spaces
    and the conditions leading to the first missing space as an example.

    The test creates the file

    HereXweXhave
    aXtextXfile
    toXplayXwith

    The test then positions the cursor at the first character of
    the first line and performs the commands

    yw <<< yank the characters HereX
    fw <<< move to the w in we
    p <<< put the yanked characters after the w in we
    $ <<< move to the last character on the line
    . <<< put the yanked characters after the last character on the line

    Following this sequence you end up with the line

    HereXwHereXeXhaveHereX

    But the expected ouput file contains

    HereXwHereXeXhaveHere

    Notice the space inserted with the first put command, but
    not with the second. The expected output is missing this
    trailing space and another one on the following line.
    Test Output
    Assertion #139 (C): count . command
    Note: The testing requirements include testing for the dot and
    ampersand commands. This violates historical practice and may
    be changed in a future revision of POSIX.2, but it remains a
    normative requirement of the current standard.
    . fails for p or P
    diff of "vi_exp_7" and "vi_in_7":
    *** vi_exp_7 Sat Aug 19 14:03:54 1995
    --- vi_in_7 Sat Aug 19 14:04:03 1995
    ***************
    *** 1,5 ****
    filete to play with
    ! Here wHere e haveHere <<< no trailing space here
    ! text a text filetext <<< no trailing space here
    filete to play filetewith
    to play with
    --- 1,5 ----
    filete to play with
    ! Here wHere e haveHere <<< trailing space here
    ! text a text filetext <<< trailing space here
    filete to play filetewith
    to play with
    Assertion Result: FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    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.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority