|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0738 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 0738.
Report 0738 Actions
Problem Report Number 0738 Submitter's Classification Specification problem State Resolved Resolution Temporary Interpretation (TIN) Problem Resolution ID TIN.X.0029 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-01 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 168 Specification Commands and Utilities Issue 4 Version 2 Location in Spec See Problem Text Problem Summary TIN4C.00032 The test may fail on implementations that adhere to POSIX.2b and consider newline past last line to be an error. Problem Text
The test may fail on implementations that adhere to POSIX.2b and
consider newline past last line to be an error.
Assertion 168 currently tests recursive @buffer command execution.
The test copies line 2 of the vi_in_1 file into buffer x as a line
mode buffer ("xyy). During the execution of buffer x, a newline
character is encountered to advance the cursor to the next line.
Since the cursor is on the last line when the newline is read, an
error occurs.
In POSIX.2, termination of @buffer execution only occurs for a vi
error. The command execution issue in question (newline past
last line) is defined as an exception that generates a bell and
leaves the cursor unchanged. Therefore, the test expects command
execution to continue.
As of POSIX.2b newline past last line is considered an error and
terminates the buffer execution.
Our implementation conforms to the draft POSIX.2b standard.
Since this area of the specification is subject to change, we
request a temporary interpretation allowing historical practice.Test Output
400|7 168 1 01:11:25|IC Start
200|7 1 01:11:25|TP Start
520|7 1 859308048 1 1|Assertion #168 (C): @ buffer will use @ commands
520|7 1 859308048 1 1|Note: The behavior associated with this assertion is expected
520|7 1 859308048 1 2|to change in a future revision of POSIX.2.
520|7 1 859308048 1 3|Standard output isn't the same as file 'vi_exp_1'
520|7 1 859308048 1 4|diff of "out.stdout" and "vi_exp_1":
520|7 1 859308048 1 5|*** out.stdout Fri Aug 18 01:11:37 1995
520|7 1 859308048 1 6|--- vi_exp_1 Fri Aug 18 01:11:29 1995
520|7 1 859308048 1 7|***************
520|7 1 859308048 1 8|*** 4,6 ****
520|7 1 859308048 1 9|--- 4,7 ----
520|7 1 859308048 1 10| interspersed with
520|7 1 859308048 1 11| commands
520|7 1 859308048 1 12| on lines
520|7 1 859308048 1 13|+ a line here
220|7 1 1 01:11:48|FAIL
410|7 168 1 01:11:48|IC EndReview 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 vi 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:
- View Report 0738
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority