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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0277 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 0277.


Report 0277 Actions


    Problem Report Number 0277
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0277
    Raised 1999-03-05 08:00
    Updated 2003-03-13 08:00
    Published 1999-03-10 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.4.3
    Test Identification POSIX.os/dataform/cpio 2,5,9,19
    Problem Summary TSD4.277 These tests give 'UNRESOLVED' in our EBCDIC-system because of the following problem: The character array to_asc[UCHAR_MAX] is of length 255 but it should be 256. The value of 'tilde' in EBCDIC is ...
    Problem Text
    These tests give 'UNRESOLVED' in our EBCDIC-system because of the following
    problem:

    The character array to_asc[UCHAR_MAX] is of length 255 but it should be 256.

    The value of 'tilde' in EBCDIC is 0xff and so the 1st character of string
    c_files is overwritten by character '='. That's the reason for the returnvalue
    from pax.


    cpio4.c:

    public unsigned char from_asc[128] = { /* ASCII to native chars */
    0, 0, 0, 0, 0, 0, 0, 0,
    '\b', '\t', '\n', '\v', '\f', '\r', 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    ' ', '!', '"', '#', '$', '%', '&', '\'',
    '(', ')', '*', '+', ',', '-', '.', '/',
    '0', '1', '2', '3', '4', '5', '6', '7',
    '8', '9', ':', ';', '<', '=', '>', '?',
    '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
    'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
    'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
    'X', 'Y', 'Z', '[', '\\', ']', '^', '_',
    '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g',
    'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o',
    'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
    'x', 'y', 'z', '{', '|', '}', '~', 0,
    };
    public unsigned char to_asc[UCHAR_MAX]; /* native chars to ASCII */

    public char *c_files = "cpio-reg cpio-link cpio-linked";



    In cpio.c:

    prepare_tests() ...

    public char *c_files = "cpio-reg cpio-link cpio-linked";
    /* Initialise native-chars-to-ASCII conversion table */
    for (i = 1; i < 128; i++)
    if (from_asc[i] != 0)
    to_asc[from_asc[i]] = i;


    Test Output
    400|0 2 1 10:23:29|IC Start
    200|0 2 10:23:29|TP Start
    520|0 2 00017619 2 1|deletion reason: format creating utility gave unexpected ex
    it code 1
    220|0 2 2 10:23:39|UNRESOLVED
    410|0 2 1 10:23:39|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is an agreed Test Suite Deficiency and it is recommended that a waiver
    be granted.

    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:

     

    Back   


Contact the Certification Authority