|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0909 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 0909.
Report 0909 Actions
Problem Report Number 0909 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0424 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/expr 77 Problem Summary TSD4C.00085 This test will fail on implementations that treat the use of ^ as an anchor as an error when used with expr in a regular expression match statement. Problem Text
This test will fail on implementations that treat the use of ^
as an anchor as an error when used with expr in a regular
expression match statement.
test 77 runs
expr '^bc' : '^^'
and expects the output to be
0
Our expr outputs 1. This is allowable because the
standard says
"...all patterns are anchored to be beginning of the string
(...) and, therefore, it is unspecified whether ^ is a special
character in this context."Test Output
200|1 1 10:33:20|TP Start
520|1 1 14499 1 1|Assertion #77 (A): GA114
520|1 1 14499 1 1|Note: An IEEE POSIX.2 interpretation request is pending on
520|1 1 14499 1 2|'nothing will be written to indicate a null string'.
520|1 1 14499 1 3|Note: An IEEE POSIX.2 interpretation request is pending on
520|1 1 14499 1 4|behavior of the caret (^) anchor in an expr BRE
520|1 1 14499 1 5|Testing regular expression "a^b"
520|1 1 14499 1 6|Testing regular expression "a^b"
520|1 1 14499 1 7|Testing regular expression "^^"
520|1 1 14499 1 8|expected exit status 1, got 0
520|1 1 14499 1 9|Contents of regb_err:
520|1 1 14499 1 10|Testing regular expression "^"
520|1 1 14499 1 11|Testing regular expression "[c^b]"
520|1 1 14499 1 12|Testing regular expression "[^ab]"
520|1 1 14499 1 13|Testing regular expression "[^ab]"
520|1 1 14499 1 14|Testing regular expression "[^^]"
520|1 1 14499 1 15|Testing regular expression "(a^b)"
520|1 1 14499 1 16|Testing regular expression "(a^b)"
520|1 1 14499 1 17|Testing regular expression "(^)"
220|1 1 1 10:33:27|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 0909
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority