|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0539 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0539.
Report 0539 Actions
Problem Report Number 0539 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0030 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-01-30 08:00 Expiry Date 1997-01-04 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 MSF4C.00008 A MSF is requested because '.' does not repeat the 'p' commands. Problem Text
A MSF is requested because '.' does not repeat the 'p' commands.
References TSD4C.00091 and MSF4C.00006.
TSD4C.00091 covers two of the above error conditions, however,
the Consultant recommended that we apply for a MSF based on
MSF4C.00006 for the "p" or "P" case.
To reitterate:
The test in question verifies the assertion:
When [count] . is entered in command mode, then vi repeats the last
command that changed the buffer and uses count as the number of
iterations of the command being repeated. (Default 1 when count not
specified) The values of current line and column are set as specified by
the command which is repeated.
TESTING REQUIREMENT:
Test for each of the buffer changing commands !, &, <, >, ~,
a, A, c, C, d, D, i, I, J, o, O, p, P, r, R, s, S, u, U, x and X.
There is an error in the existing test (recognized by waiver
#TSD4C.00091) in that some of the expected output files are incorrect.
However, on our implementation the assertion fails for the "p" and "P"
commands independently of this error (subtest number 7 in the
assertion test). This behavior (a failure to repeat a "p" or "P") is
longstanding; according to Keith Bostic, it is the historical behavior
of vi. Nevertheless, he views it as a bug, as do POSIX.2-1990, XPG4
Issue 2, and (draft) POSIX.2b.
We request a waiver on the grounds that this is a Minor System Fault.
In support of this request we wish to point out that:
(a) The current test suite, because of its own bug, does not exhibit
this failure.
(b) This is the historical behavior of the vi utility.
(c) A workaround (using "p" or "P" instead of ".") is always available
to the user.Test Output
400|1 139 1 13:59:57|IC Start
200|1 1 13:59:58|TP Start
520|1 1 9330 1 1|Assertion #139 (C): count . command
520|1 1 9330 1 1|Note: The testing requirements include testing for the dot and
520|1 1 9330 1 2|ampersand commands. This violates historical practice and may
520|1 1 9330 1 3|be changed in a future revision of POSIX.2, but it remains a
520|1 1 9330 1 4|normative requirement of the current standard.
520|1 1 9330 1 5|. fails for & or >
520|1 1 9330 1 6|diff of "vi_exp_1" and "vi_in_1":
520|1 1 9330 1 7|*** vi_exp_1 Sun Jan 28 14:00:39 1996
520|1 1 9330 1 8|--- vi_in_1 Sun Jan 28 14:00:58 1996
520|1 1 9330 1 9|***************
520|1 1 9330 1 10|*** 1,4 ****
520|1 1 9330 1 11|! hXrX is filX xo xesx
520|1 1 9330 1 12| New line of file
520|1 1 9330 1 13| another line
520|1 1 9330 1 14| a few
520|1 1 9330 1 15|--- 1,4 ----
520|1 1 9330 1 16|! hXrX is file xo xest
520|1 1 9330 1 17| New line of file
520|1 1 9330 1 18| another line
520|1 1 9330 1 19| a few
520|1 1 9330 1 20|. fails for p or P
520|1 1 9330 1 21|diff of "vi_exp_7" and "vi_in_7":
520|1 1 9330 1 22|*** vi_exp_7 Sun Jan 28 14:04:59 1996
520|1 1 9330 1 23|--- vi_in_7 Sun Jan 28 14:05:13 1996
520|1 1 9330 1 24|***************
520|1 1 9330 1 25|*** 1,5 ****
520|1 1 9330 1 26| filete to play with
520|1 1 9330 1 27|! Here wHere e haveHere
520|1 1 9330 1 28|! text a text filetext
520|1 1 9330 1 29| filete to play filetewith
520|1 1 9330 1 30| to play with
520|1 1 9330 1 31|--- 1,5 ----
520|1 1 9330 1 32| filete to play with
520|1 1 9330 1 33|! Here wHere e have
520|1 1 9330 1 34|! a text filetext
520|1 1 9330 1 35| filete to play filetewith
520|1 1 9330 1 36| to play with
520|1 1 9330 1 37|. fails for u
520|1 1 9330 1 38|diff of "vi_exp_10" and "vi_in_10":
520|1 1 9330 1 39|*** vi_exp_10 Sun Jan 28 14:06:43 1996
520|1 1 9330 1 40|--- vi_in_10 Sun Jan 28 14:07:02 1996
520|1 1 9330 1 41|***************
520|1 1 9330 1 42|*** 1,3 ****
520|1 1 9330 1 43|! and here we have
520|1 1 9330 1 44| a text file
520|1 1 9330 1 45| to play with
520|1 1 9330 1 46|--- 1,3 ----
520|1 1 9330 1 47|! Here we havand and and h
520|1 1 9330 1 48| a text file
520|1 1 9330 1 49| to play with
220|1 1 1 14:07:48|FAIL
410|1 139 1 14:07:48|IC End
80|1 0 14:07:49|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A temporary waiver for a minor system fault is recommended.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion
A Temporary Waiver is granted.
Problem Reporting System Options:
- View Report 0539
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority