|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2703 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 2703.
Report 2703 Actions
Problem Report Number 2703 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0119 Raised 2019-08-20 12:08 Updated 2019-08-20 15:22 Published 2019-08-20 15:22 Expiry Date 2020-08-20 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/find/find.ex 810,811,813,817 Specification Shell and Utilities Issue 6 Location in Spec From the specification of the find utility in Open Group Base Specifications Issue 6. Problem Summary The find utility may fail to properly collate or classify files whose names contain characters from
the non-portable character set.Problem Text These tests work 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, or
otherwise obey the localization rules associated with the test locale. 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 find command expects.
Note that the assertions being tested are:
# When the environment variable LC_ALL is set to a non-empty string
# value, then this value shall override the values of all the other
# internationalization variables.
# When the environment variable LC_CTYPE is set to a non-empty string
# value, then it shall be used to determine the locale for the interpretation
# of sequences of bytes of text data as characters and the behavior of
# character classes.
# When the environment variable LC_COLLATE is set to a non-empty string
# value, then it shall be used to determine the locale for the behavior of
# ranges, equivalence classes and multicharacter collating elements within
# bracket expressions.
# When the environment variables LC_ALL, LC_CTYPE, LC_COLLATE, and LC_MESSAGES
# are unset or null and LANG is set to a valid locale, then grep uses the
# value of LANG to determine default values for each of the locale
# categories.
and our Implementation of find does satisfy these requirements. But the combination of the test
method used and the peculiarity of the file system encoding obscures this.
I should note that these test cases are 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|50 810 1 12:20:53|IC Start
200|50 143 12:20:53|TP Start
520|50 143 24978 1 1|Assertion #810 (A): LC_ALL overrides all other i18n variables
520|50 143 24978 2 1|Expected exit code = 0; Received 1
520|50 143 24978 2 2|Standard error isn't empty
520|50 143 24978 2 3|Contents of out.stderr:
520|50 143 24978 2 4|command "testfunc810_1" produced the same standard output
520|50 143 24978 2 5|with LC_ALL=de_DE.ISO8859-1 as with
520|50 143 24978 2 6|LANG=POSIX
520|50 143 24978 2 7|Expected exit code = 0; Received 1
520|50 143 24978 2 8|Standard error isn't empty
520|50 143 24978 2 9|Contents of out.stderr:
520|50 143 24978 2 10|command "testfunc810_2" produced the same standard output
520|50 143 24978 2 11|with LC_ALL=de_DE.ISO8859-1 as with
520|50 143 24978 2 12|LANG=POSIX
220|50 143 1 12:20:54|FAIL
410|50 810 1 12:20:54|IC End
400|50 810 1 12:20:53|IC Start
200|50 143 12:20:53|TP Start
520|50 143 24978 1 1|Assertion #810 (A): LC_ALL overrides all other i18n variables
520|50 143 24978 2 1|Expected exit code = 0; Received 1
520|50 143 24978 2 2|Standard error isn't empty
520|50 143 24978 2 3|Contents of out.stderr:
520|50 143 24978 2 4|command "testfunc810_1" produced the same standard output
520|50 143 24978 2 5|with LC_ALL=de_DE.ISO8859-1 as with
520|50 143 24978 2 6|LANG=POSIX
520|50 143 24978 2 7|Expected exit code = 0; Received 1
520|50 143 24978 2 8|Standard error isn't empty
520|50 143 24978 2 9|Contents of out.stderr:
520|50 143 24978 2 10|command "testfunc810_2" produced the same standard output
520|50 143 24978 2 11|with LC_ALL=de_DE.ISO8859-1 as with
520|50 143 24978 2 12|LANG=POSIX
220|50 143 1 12:20:54|FAIL
410|50 810 1 12:20:54|IC End
400|50 811 1 12:20:54|IC Start
200|50 144 12:20:54|TP Start
520|50 144 24978 1 1|Assertion #811 (A): When the environment variable LC_CTYPE is set to a
non-empty string
520|50 144 24978 2 1|Expected exit code = 0; Received 1
520|50 144 24978 2 2|Standard error isn't empty
520|50 144 24978 2 3|Contents of out.stderr:
520|50 144 24978 2 4|command "testfunc811" produced the same standard output
520|50 144 24978 2 5|with LC_CTYPE=de_DE.ISO8859-1 as with
520|50 144 24978 2 6|LANG=POSIX
220|50 144 1 12:20:55|FAIL
410|50 811 1 12:20:55|IC End
400|50 813 1 12:20:55|IC Start
200|50 146 12:20:55|TP Start
520|50 146 24978 1 1|Assertion #813 (A): When the environment variable LC_COLLATE is set to a
non-empty string
520|50 146 24978 2 1|Expected exit code = 0; Received 1
520|50 146 24978 2 2|Standard error isn't empty
520|50 146 24978 2 3|Contents of out.stderr:
520|50 146 24978 2 4|command "testfunc813" produced the same standard output
520|50 146 24978 2 5|with LC_COLLATE=de_DE.ISO8859-1 as with
520|50 146 24978 2 6|LANG=POSIX
220|50 146 1 12:20:56|FAIL
410|50 813 1 12:20:56|IC End
400|50 817 1 12:20:56|IC Start
200|50 147 12:20:56|TP Start
520|50 147 24978 1 1|Assertion #817 (A): LANG determines default locale
520|50 147 24978 2 1|Expected exit code = 0; Received 1
520|50 147 24978 2 2|Standard error isn't empty
520|50 147 24978 2 3|Contents of out.stderr:
520|50 147 24978 2 4|command "testfunc817_1" produced the same standard output
520|50 147 24978 2 5|with LANG=de_DE.ISO8859-1 as with
520|50 147 24978 2 6|LANG=POSIX
520|50 147 24978 2 7|Expected exit code = 0; Received 1
520|50 147 24978 2 8|Standard error isn't empty
520|50 147 24978 2 9|Contents of out.stderr:
520|50 147 24978 2 10|command "testfunc817_2" produced the same standard output
520|50 147 24978 2 11|with LANG=de_DE.ISO8859-1 as with
520|50 147 24978 2 12|LANG=POSIX
220|50 147 1 12:20:58|FAIL
410|50 817 1 12:20:58|IC EndReview Information
Review Type SA Review Start Date 2019-08-20 12:08 Last Updated 2019-08-20 15:22 Completed 2019-08-20 15:22 Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion A minor system fault is granted
Problem Reporting System Options:
- View Report 2703
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority