|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0744 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 0744.
Report 0744 Actions
Problem Report Number 0744 Submitter's Classification Specification problem State Resolved Resolution Temporary Interpretation (TIN) Problem Resolution ID TIN.X.0035 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-10-30 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 120, 137, 191, 351 Specification Commands and Utilities Issue 4 Version 2 Location in Spec See Problem Text Problem Summary TIN4C.00026 The tests may fail on implementations that adhere to POSIX.2b rather than POSIX.2 behavior and treat <addr1>,<addr2><command><count> to mean <addr2>,<addr2+count-1><command>. Problem Text
The tests may fail on implementations that adhere to POSIX.2b rather
than POSIX.2 behavior and treat <addr1>,<addr2><command><count> to
mean <addr2>,<addr2+count-1><command>.
The test assertions listed test an area of POSIX.2 which the POSIX.2
interpretation committee has determined to be in error (see IEEE
interpretations PASC 1003.2-92 #64, question #9).
Historically, when a range and count are specified the starting line for the
command is taken to be the last line addressed by the range. The correct
behaviour is described in POSIX.2b draft.11 section 5.10.7.5 page 141 lines
799-803.
This affects all commands that accept both a range and a count (change,
delete, join, list, number, #, print, s, &, ~, yank, <, >). Note that in
some instances VSC writes a journal message indicating future change in
POSIX.2.
Our implementation conforms to the draft POSIX.2b standard which mandates
this historical practice. Since this area of the specification
is subject to change, we request a temporary interpretation allowing
historical practice.
Test Output
200|7 1 07:57:54|TP Start
520|7 1 21626905 1 1|Assertion #120 (C): specification of ex <range>change<count> command
520|7 1 21626905 1 1|Note: The behavior associated with this assertion is expected
520|7 1 21626905 1 2|to change in a future revision of POSIX.2.
520|7 1 21626905 1 3|append command did not generate expected file
520|7 1 21626905 1 4|diff of "ex_data_1" and "ex_exp_1":
520|7 1 21626905 1 5|*** ex_data_1 Tue Aug 22 07:58:05 1995
520|7 1 21626905 1 6|--- ex_exp_1 Tue Aug 22 07:57:58 1995
520|7 1 21626905 1 7|***************
520|7 1 21626905 1 8|*** 1,7 ****
520|7 1 21626905 1 9| abc
520|7 1 21626905 1 10|- def
520|7 1 21626905 1 11|- ghi
520|7 1 21626905 1 12|- jkl
520|7 1 21626905 1 13| 012
520|7 1 21626905 1 14|- M
520|7 1 21626905 1 15| 345
520|7 1 21626905 1 16|--- 1,5 ----
520|7 1 21626905 1 17| abc
520|7 1 21626905 1 18| 012
520|7 1 21626905 1 19| 345
520|7 1 21626905 1 20|+ jkl
520|7 1 21626905 1 21|+ mno
520|7 1 21626905 1 22|expected current line 3, was line 6
520|7 1 21626905 1 23|Command failed: 'checkline ex_data_1 3'
220|7 1 1 07:58:27|FAIL
410|7 120 1 07:58:28|IC End
400|7 137 1 08:03:04|IC Start
200|7 1 08:03:05|TP Start
520|7 1 21626905 1 1|Assertion #137 (C): specification of [range]delete[count] ex command
520|7 1 21626905 1 1|Note: The behavior associated with this assertion is expected
520|7 1 21626905 1 2|to change in a future revision of POSIX.2.
520|7 1 21626905 1 3|delete[count] did not produce expected file
520|7 1 21626905 1 4|diff of "ex_data_1" and "ex_exp_1":
520|7 1 21626905 1 5|*** ex_data_1 Tue Aug 22 08:03:09 1995
520|7 1 21626905 1 6|--- ex_exp_1 Tue Aug 22 08:03:08 1995
520|7 1 21626905 1 7|***************
520|7 1 21626905 1 8|*** 1,6 ****
520|7 1 21626905 1 9| abc
520|7 1 21626905 1 10| def
520|7 1 21626905 1 11|- pqr
520|7 1 21626905 1 12| ghi
520|7 1 21626905 1 13|- jkl
520|7 1 21626905 1 14| mno
520|7 1 21626905 1 15|--- 1,6 ----
520|7 1 21626905 1 16| abc
520|7 1 21626905 1 17|+ jkl
520|7 1 21626905 1 18| def
520|7 1 21626905 1 19| ghi
520|7 1 21626905 1 20| mno
520|7 1 21626905 1 21|+ pqr
520|7 1 21626905 1 22|expected current line 2, was line 5
520|7 1 21626905 1 23|Command failed: 'checkline ex_data_2 2'
220|7 1 1 08:03:33|FAIL
410|7 137 1 08:03:34|IC End
400|10 191 1 08:24:12|IC Start
200|10 1 08:24:13|TP Start
520|10 1 57999385 1 1|Assertion #191 (C): specification of the [range]list[count] command
520|10 1 57999385 1 1|Note: The behavior associated with this assertion is expected
520|10 1 57999385 1 2|to change in a future revision of POSIX.2.
520|10 1 57999385 1 3|expected current line 3, was line 6
520|10 1 57999385 1 4|Command failed: 'checkline ex_data_1 3'
520|10 1 57999385 1 5|Command failed: 'grep "def" ex_out_1 >/dev/null'
520|10 1 57999385 1 6|Command failed: 'grep "ghi" ex_out_1 >/dev/null'
520|10 1 57999385 1 7|expected current line 3, was line 6
520|10 1 57999385 1 8|Command failed: 'checkline ex_data_1 3'
520|10 1 57999385 1 9|Command failed: 'grep "def" ex_out_2 >/dev/null'
520|10 1 57999385 1 10|Command failed: 'grep "ghi" ex_out_2 >/dev/null'
220|10 1 1 08:24:36|FAIL
410|10 191 1 08:24:37|IC End
400|16 351 1 09:29:29|IC Start
200|16 1 09:29:30|TP Start
520|16 1 98893851 1 1|Assertion #351 (C): specification of the [range]yank[count] command
520|16 1 98893851 1 1|Note: The behavior associated with this assertion is expected
520|16 1 98893851 1 2|to change in a future revision of POSIX.2.
520|16 1 98893851 1 3|diff of "ex_data_1" and "ex_exp_1":
520|16 1 98893851 1 4|2c2,4
520|16 1 98893851 1 5|< pqr
520|16 1 98893851 1 6|---
520|16 1 98893851 1 7|> def
520|16 1 98893851 1 8|> ghi
520|16 1 98893851 1 9|> jkl
520|16 1 98893851 1 10|Command failed: 'jrnl_file_diff ex_data_1 ex_exp_1'
520|16 1 98893851 1 11|diff of "ex_data_2" and "ex_exp_2":
520|16 1 98893851 1 12|2c2,4
520|16 1 98893851 1 13|< pqr
520|16 1 98893851 1 14|---
520|16 1 98893851 1 15|> def
520|16 1 98893851 1 16|> ghi
520|16 1 98893851 1 17|> jkl
520|16 1 98893851 1 18|Command failed: 'jrnl_file_diff ex_data_2 ex_exp_2'
220|16 1 1 09:29:58|FAIL
410|16 351 1 09:29:59|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 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:
- View Report 0744
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority