|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0237 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 0237.
Report 0237 Actions
Problem Report Number 0237 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0237 Raised 1995-08-15 08:00 Updated 2003-03-13 08:00 Published 1995-09-11 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification XPG4.os/genuts/fnmatch 8,10 Problem Summary TSD4.237 We think that these tests are expecting the wrong results. The actual text from the X/Open manual under 'fnmatch' is below: "If FNM_PERIOD is set in 'flags', then a leading period in 'string' wi... Problem Text
We think that these tests are expecting the wrong results.
The actual text from the X/Open manual under 'fnmatch' is below:
"If FNM_PERIOD is set in 'flags', then a leading period in 'string' will "
"match a period in 'pattern'; where "leading" is indicated by the value of"
"FNM_PATHNAME: "
" "
" -- If FNM_PATHNAME is set, a period is "leading" if it is the first "
" character in 'string' or if it immediately follows a slash. "
" "
" -- If FNM_PATHNAME is not set, a period is "leading" only if it is the"
" first character of 'string'. "Test Output
/tset/XPG4.os/genuts/fnmatch/T.fnmatch 8 Failed
Test Information:
fnmatch("[.,]profile", ".profile", FNM_PERIOD) not correct:
return value 0, expected -2 (FNM_NOMATCH)
/tset/XPG4.os/genuts/fnmatch/T.fnmatch 10 Failed
Test Information:
fnmatch("./[.,]profile", "./.profile", FNM_PATHNAME | FNM_PERIOD) not correct:
return value 0, expected -2 (FNM_NOMATCH)
fnmatch("[.,]/.profile", "./.profile", FNM_PATHNAME | FNM_PERIOD) not correct:
return value 0, expected -2 (FNM_NOMATCH)Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
The XCU specification for the Shell states that it is unspecified whether
a leading period in a bracket expression will match a period in a file
name. This suggests that there is a fault in the test suite in testing
"unspecified" behaviour.
It is recommended that a waiver is granted on the grounds of a Test Suite
Deficiency.
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 0237
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority