|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2704 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 2704.
Report 2704 Actions
Problem Report Number 2704 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0118 Raised 2019-08-20 12:18 Updated 2019-08-20 15:20 Published 2019-08-20 15:20 Expiry Date 2020-08-20 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 5.3.16NW Test Identification POSIX.cmd/ls/ls.ex 804,805,806,807 Specification Commands and Utilities Issue 4 Version 2 Location in Spec The specification of the ls utility in Open Group Base Specification Issue 6. Problem Summary The ls 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 ls command expects.
Note that the assertions being tested are:
# When the environment variables LC_ALL, LC_CTYPE, LC_COLLATE, LC_MESSAGES,
# and LC_TIME are unset or null and LANG is set to a valid locale, then ls
# uses the value of LANG to determine default values for each of the locale
# categories.
# 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 which characters are
# defined as printable.
# When the environment variable LC_COLLATE is set to a non-empty string
# value, then it shall be used to determine the locale for ordering rules.
and our Implementation of ls does satisfy these requirements. But the combination of the test
method used and the peculiarity of the file system encoding obscures this.Test Output 400|66 804 1 12:47:37|IC Start
200|66 108 12:47:37|TP Start
520|66 108 92309 1 1|Assertion #804 (A): LANG determines default locale
520|66 108 92309 2 1|Expected exit code = 0; Received 1
520|66 108 92309 2 2|Standard error isn't empty
520|66 108 92309 2 3|Contents of out.stderr:
520|66 108 92309 2 4|command "testfunc804_1" produced the same standard output
520|66 108 92309 2 5|with LANG=de_DE.ISO8859-1 as with
520|66 108 92309 2 6|LANG=POSIX
520|66 108 92309 2 7|Expected exit code = 0; Received 1
520|66 108 92309 2 8|Standard error isn't empty
520|66 108 92309 2 9|Contents of out.stderr:
520|66 108 92309 2 10|command "testfunc804_2" produced the same standard output
520|66 108 92309 2 11|with LANG=de_DE.ISO8859-1 as with
520|66 108 92309 2 12|LANG=POSIX
220|66 108 1 12:47:39|FAIL
410|66 804 1 12:47:39|IC End
400|66 805 1 12:47:39|IC Start
200|66 109 12:47:39|TP Start
520|66 109 92309 1 1|Assertion #805 (A): LC_ALL overrides all other i18n variables
520|66 109 92309 2 1|Expected exit code = 0; Received 1
520|66 109 92309 2 2|Standard error isn't empty
520|66 109 92309 2 3|Contents of out.stderr:
520|66 109 92309 2 4|command "testfunc805_1" produced the same standard output
520|66 109 92309 2 5|with LC_ALL=de_DE.ISO8859-1 as with
520|66 109 92309 2 6|LANG=POSIX
520|66 109 92309 2 7|Expected exit code = 0; Received 1
520|66 109 92309 2 8|Standard error isn't empty
520|66 109 92309 2 9|Contents of out.stderr:
520|66 109 92309 2 10|command "testfunc805_2" produced the same standard output
520|66 109 92309 2 11|with LC_ALL=de_DE.ISO8859-1 as with
520|66 109 92309 2 12|LANG=POSIX
220|66 109 1 12:47:41|FAIL
410|66 805 1 12:47:41|IC End
400|66 806 1 12:47:41|IC Start
200|66 110 12:47:41|TP Start
520|66 110 92309 1 1|Assertion #806 (A): When the environment variable LC_CTYPE is set to a
non-empty string
520|66 110 92309 2 1|Expected exit code = 0; Received 1
520|66 110 92309 2 2|Standard error isn't empty
520|66 110 92309 2 3|Contents of out.stderr:
520|66 110 92309 2 4|command "testfunc806" produced the same standard output
520|66 110 92309 2 5|with LC_CTYPE=de_DE.ISO8859-1 as with
520|66 110 92309 2 6|LANG=POSIX
220|66 110 1 12:47:41|FAIL
410|66 806 1 12:47:41|IC End
400|66 807 1 12:47:41|IC Start
200|66 111 12:47:41|TP Start
520|66 111 92309 1 1|Assertion #807 (A): When the environment variable LC_COLLATE is set to a
non-empty string
520|66 111 92309 2 1|Expected exit code = 0; Received 1
520|66 111 92309 2 2|Standard error isn't empty
520|66 111 92309 2 3|Contents of out.stderr:
520|66 111 92309 2 4|command "testfunc807" produced the same standard output
520|66 111 92309 2 5|with LC_COLLATE=de_DE.ISO8859-1 as with
520|66 111 92309 2 6|LANG=POSIX
220|66 111 1 12:47:42|FAIL
410|66 807 1 12:47:42|IC EndReview Information
Review Type SA Review Start Date 2019-08-20 12:18 Last Updated 2019-08-20 15:19 Completed 2019-08-20 15:19 Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion A minor system fault is granted.
Problem Reporting System Options:
- View Report 2704
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority