|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0908 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 0908.
Report 0908 Actions
Problem Report Number 0908 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0423 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.cmd/pr 18 20 Problem Summary TSD4C.00086 This test may fail on conforming implementations due to invalid logic. Problem Text
This test may fail on conforming implementations due to invalid logic.
The XPG4 pr spec states
-i[char][gap]
"In output, replace multiple space characters with tab characters
whenever two or more adjacent space characters reach column positions
gap+1, 2*gap+1, 3*gap+1 and so forth."
The following is the contents of the input file for tp18 and tp20:
1 2 3 4 5 6 7
123456789012345678901234567890123456789012345678901234567890123456789012
12 5 90123456 123 90 7 5678 789 9012
The test expects the following output for tp20:
12X5X90123456X123XX90XX7XX5678XX789XXX9012
The correct expectation for tp20 should be:
12X5X90123456X123 X90XX7XX5678XX789 XX9012
The test expects the following output for tp18:
12\t5\t90123456\t123\t\t90\t\t7\t\t5678\t\t789\t\t\t9012
The correct expectation for tp18 should be:
12\t5\t90123456\t123 \t90\t\t7\t\t5678\t\t789 \t\t9012
In test purposes 18 and 20, the gap is specified as 4. For the given input to
both test purposes, space character replacement at positions 25 and 61 is
incorrect.
6*gap+1=25 15*gap+1=61
| |
123456789012345678901234567890123456789012345678901234567890123456789012
12 5 90123456 123 90 7 5678 789 9012
For the case of 6*gap+1, which is position 25, and 15*gap+1,
which is position 61, the test expects space replacement to occur
at these positions. In the case of tp20 it is an X and in the
case of tp18 it is a tab character. It should not expect any
space replacement at these points because there is only one
adjacent space to these column positions in both cases. The
standard requires two or more ADJACENT space characters to these
column positions, there is only one adjacent space character in
both cases.Test Output
200|1 1 15:27:45|TP Start
520|1 1 31769 1 1|Assertion #18 (A): Test the -i[gap] option
520|1 1 31769 1 1|Command failed: 'cmp -s pr_eso_18_1 pr_eso_18_2'
220|1 1 1 15:27:47|FAIL
200|4 1 15:28:10|TP Start
520|4 1 1253 1 1|Assertion #20 (A): Test the -i[char][gap] option
520|4 1 1253 1 1|Command failed: 'cmp -s pr_eso_20_1 pr_out_20_2'
220|4 1 1 15:28:13|FAILReview 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:
- View Report 0908
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority