HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2702 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 2702.


Report 2702 Actions


    Problem Report Number 2702
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0120
    Raised 2019-08-20 12:07
    Updated 2019-08-20 15:24
    Published 2019-08-20 15:24
    Expiry Date 2020-08-20
    Product Standard Commands and Utilities V4 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSC
    Test Identification POSIX.cmd/pax/pax.ex 806,811, 812
    Specification Shell and Utilities Issue 6
    Location in Spec From the specification of the pax utility in Open Group Base Specifications Issue 6.
    Problem Summary The pax 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 pax 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 pax
    # 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 pax uses LC_ALL to overide the
    # values of all other internationalisation variables.

    # When the environment variable LC_ALL is null or not set and LC_CTYPE is
    # set to a non-empty value, then pax uses the value of LC_CTYPE to
    # determine the locale for the interpretation of sequences of bytes of
    # text data as characters and the behavior of character classes used in
    # the pattern operand and the basic regular expression for the -s option

    and, in fact, our implementation of pax 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|81 806 1 14:50:14|IC Start
    200|81 243 14:50:14|TP Start
    520|81 243 63375 1 1|Assertion #806 (A): LANG determines default locale
    520|81 243 63375 2 1|Expected exit code = 0; Received 2
    520|81 243 63375 2 2|Standard error isn't empty
    520|81 243 63375 2 3|Contents of out.stderr:
    520|81 243 63375 2 4|command failed with LANG=POSIX: testfunc806_1
    520|81 243 63375 2 5|output written to standard error...
    520|81 243 63375 2 6|pax: WARNING! These patterns were not matched:
    520|81 243 63375 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 243 63375 2 8|Expected exit code = 0; Received 1
    520|81 243 63375 2 9|Standard error isn't empty
    520|81 243 63375 2 10|Contents of out.stderr:
    520|81 243 63375 2 11|command "testfunc806_2" produced the same standard output
    520|81 243 63375 2 12|with LANG=de_DE.ISO8859-1 as with
    520|81 243 63375 2 13|LANG=POSIX
    220|81 243 1 14:50:15|FAIL
    410|81 806 1 14:50:15|IC End

    400|81 811 1 14:50:15|IC Start
    200|81 244 14:50:15|TP Start
    520|81 244 63375 1 1|Assertion #811 (A): LC_ALL overrides all other i18n variables
    520|81 244 63375 2 1|Expected exit code = 0; Received 2
    520|81 244 63375 2 2|Standard error isn't empty
    520|81 244 63375 2 3|Contents of out.stderr:
    520|81 244 63375 2 4|command failed with LANG=POSIX: testfunc811_1
    520|81 244 63375 2 5|output written to standard error...
    520|81 244 63375 2 6|pax: WARNING! These patterns were not matched:
    520|81 244 63375 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 244 63375 2 8|Expected exit code = 0; Received 1
    520|81 244 63375 2 9|Standard error isn't empty
    520|81 244 63375 2 10|Contents of out.stderr:
    520|81 244 63375 2 11|command "testfunc811_2" produced the same standard output
    520|81 244 63375 2 12|with LC_ALL=de_DE.ISO8859-1 as with
    520|81 244 63375 2 13|LANG=POSIX
    220|81 244 1 14:50:16|FAIL
    410|81 811 1 14:50:16|IC End

    400|81 812 1 14:50:16|IC Start
    200|81 245 14:50:16|TP Start
    520|81 245 63375 1 1|Assertion #812 (A): When the environment variable LC_CTYPE is set to a
    non-empty string
    520|81 245 63375 2 1|Expected exit code = 0; Received 2
    520|81 245 63375 2 2|Standard error isn't empty
    520|81 245 63375 2 3|Contents of out.stderr:
    520|81 245 63375 2 4|command failed with LANG=POSIX: testfunc812_1
    520|81 245 63375 2 5|output written to standard error...
    520|81 245 63375 2 6|pax: WARNING! These patterns were not matched:
    520|81 245 63375 2 7|[[:alpha:]]
    520|81 245 63375 2 8|Expected exit code = 0; Received 1
    520|81 245 63375 2 9|Standard error isn't empty
    520|81 245 63375 2 10|Contents of out.stderr:
    520|81 245 63375 2 11|command "testfunc812_2" produced the same standard output
    520|81 245 63375 2 12|with LC_CTYPE=de_DE.ISO8859-1 as with
    520|81 245 63375 2 13|LANG=POSIX
    220|81 245 1 14:50:18|FAIL
    410|81 812 1 14:50:18|IC End

    Review Information

    Review Type SA Review
    Start Date 2019-08-20 12:07
    Last Updated 2019-08-20 15:24
    Completed 2019-08-20 15:24
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion A minor system fault is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority