|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2705 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 2705.
Report 2705 Actions
Problem Report Number 2705 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0121 Raised 2019-08-21 05:33 Updated 2019-08-21 10:10 Published 2019-08-21 10:10 Expiry Date 2020-08-21 Product Standard Commands and Utilities V4 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSC version 5.3.16NW Test Identification POSIX.cmd/pax/pax.ex 256 Specification Shell and Utilities Issue 6 Location in Spec From the specification of the pax utility in Open Group Base Specifications Issue 6. Linked Problem Reports Report, 2702 Problem Summary The pax utility may fail to properly collate files whose names contain characters from the non-
portable character set.Problem Text The test works by creating files with single-character filenames from the test locale's character
set and verifying that the file names collate properly, or are in the proper character class. The file
system with which we are testing does not encode Latin-1 characters from the non-portable
character set in the way that the pax command expects.
Note that the assertion being tested is:
# When the environment variable LC_ALL is null or not set and LC_COLLATE is
# set to a non-empty value, then pax uses the value of LC_COLLATE as the
# locale that should be used to affect the behavior of ranges, equivalence
# classes and multi-character collating elements used in the pattern
# matching expressions for the pattern operand and the basic regular
# expression for the -s option.
and, in fact, our implementation of pax does satisfy this requirement. But the combination of the
test method used and the peculiarity of the file system encoding obscures this.
I should note that this test case is not portable, because of the following requirement from
Base Definitions section 4.6: "For a filename to be portable across implementations conforming to
IEEE Std 1003.1-2001, it shall consist only of the portable filename character set as defined in
Portable Filename Character Set."Test Output 400|81 256 1 19:42:28|IC Start
200|81 168 19:42:28|TP Start
520|81 168 54732 1 1|Assertion #256 (A): When the environment variable LC_COLLATE is set to a
non-empty string
520|81 168 54732 2 1|Expected exit code = 0; Received 2
520|81 168 54732 2 2|Standard error isn't empty
520|81 168 54732 2 3|Contents of out.stderr:
520|81 168 54732 2 4|command failed with LANG=POSIX: testfunc256_1
520|81 168 54732 2 5|output written to standard error...
520|81 168 54732 2 6|pax: WARNING! These patterns were not matched:
520|81 168 54732 2 7|[[=a=][=A=][=b=][=B=][=c=][=C=][=d=][=D=][=e=][=E=][=f=][=F=][=g=]
[=G=][=h=][=H=][=i=][=I=][=j=][=J=][=k=][=K=][=l=][=L=][=m=][=M=][=n=][=N=][=o=][=O=]
[=p=][=P=][=q=][=Q=][=r=][=R=][=s=][=S=][=t=][=T=][=u=][=U=][=v=][=V=][=w=][=W=][=x=]
[=X=][=y=][=Y=][=z=][=Z=]]
520|81 168 54732 2 8|Expected exit code = 0; Received 1
520|81 168 54732 2 9|Standard error isn't empty
520|81 168 54732 2 10|Contents of out.stderr:
520|81 168 54732 2 11|command "testfunc256_2" produced the same standard output
520|81 168 54732 2 12|with LC_COLLATE=de_DE.ISO8859-1 as with
520|81 168 54732 2 13|LANG=POSIX
220|81 168 1 19:42:29|FAIL
410|81 256 1 19:42:29|IC EndReview Information
Review Type SA Review Start Date 2019-08-21 05:33 Last Updated 2019-08-21 10:10 Completed 2019-08-21 10:10 Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion A minor system fault is granted.
Problem Reporting System Options:
- View Report 2705
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority