|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0614 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 0614.
Report 0614 Actions
Problem Report Number 0614 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0218 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.5 Test Identification POSIX.shell/sh 311 Problem Summary PG4C.00058 Should the expected output have two trailing spaces or one. Problem Text
With IFS set to ":,", the trailing ,: of the .in file
are not recognized as fields.
Here are the contents of sh5_311.in:
: , a : , : b , : , c , : \n
7A 6B 81 7A 6B 7A 82 6B 7A 6B 83 6B 7A 15
Here are the contents of sh5_311.eso:
a b c \n
40 40 81 40 40 40 82 40 40 40 83 40 15
According to X/OPEN CAE, 2.6.5
3a:
"IFS white space is ignored at the beginning and end
of the input."
Since the trailing ,: in sh5_311.in are not IFS white space,
3b applies:
3b:
"Each orrurrence in the input of an IFS character that is not
IFS white space, along with any adjacent IFS white space, will
delimit a field, as described previously."
Therefore, sh5_311.eso should be changed to:
a b c \n
40 40 81 40 40 40 82 40 40 40 83 40 40 15
Test Output
400|4 311 1 16:03:31|IC Start
200|4 1 16:03:32|TP Start
520|4 1 4849683 1 1|Assertion #311 (A): IFS set to a non-null value other than
520|4 1 4849683 1 2| <LC> space, tab, and newline, each character delimits a w
520|4 1 4849683 1 3| <LC> ord
520|4 1 4849683 1 11|Standard output isn't the same as file 'sh5_311.eso'
520|4 1 4849683 1 12|diff of "out.stdout" and "sh5_311.eso":
520|4 1 4849683 1 13|*** out.stdout Mon Nov 13 16:03:44 1995
520|4 1 4849683 1 14|--- sh5_311.eso Mon Nov 13 16:03:43 1995
520|4 1 4849683 1 15|***************
520|4 1 4849683 1 16|*** 1 ****
520|4 1 4849683 1 17|! a b c
520|4 1 4849683 1 18|--- 1 ----
520|4 1 4849683 1 19|! a b c
220|4 1 1 16:04:13|FAIL
410|4 311 1 16:04:15|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
We believe the test is correct.
POSIX.2 interpretation #98 addresses this issue and reaffirms the behavior
of the test. The conclusion is as follows:
The standard consistantly uses delimiter as field terminator,
not field seperator and conforming implementations must
conform to this.
In the test, the final ,: combination delimits one null field. There
is no null field after the final : character. As a result, only one trailing
space is expected in the expected output.
VSC 4.1.4 tested the behavior requested above. The test was changed in
4.1.5 as a result of TSD4C.00109.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 0614
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority