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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0803 Actions


    Problem Report Number 0803
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0318
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-10-21 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.6
    Test Identification POSIX.annexA/lex 32
    Problem Summary TSD4C.00193 This test may fail on implementations because the #include statement is not properly flagged with a preceding space.
    Problem Text
    Tp32 has two problems. The first does not affect the output of
    the test, but was discovered while debugging the real problem.
    The tr command:
    tr '[0-9]' ';;;;;;;;;;' < lex_in_32_2 >> lex_in_32_1
    is not portable. It translates square brackets since the string
    operands are not regular expressions.
    The tr command should be changed to
    tr [:digit:] '[;*]' < lex_in_32_2 >> lex_in_32_1

    The other problem with this test is that the first line in lex_in_32_1
    #include <stdio.h>
    is NOT preceeded with a blank character.
    See the CAE Specification, page 404, the paragraph that describes
    the Definations section.
    Also see the last paragraph on that same page. The #include
    <stdio.h> is being processed as a lex substitution string.

    There should be a blank character inserted before the #include
    <stdio.h> when lex_in_32_1 is created.

    Test Output

    400|484 32 1 06:12:15|IC Start
    200|484 1 06:12:15|TP Start
    520|484 1 1445855248 1 1|Assertion #32 (C): Test general assertion 35
    520|484 1 1445855248 1 11|Expected exit code = 0; Received 1
    520|484 1 1445855248 1 12|Contents of out.stderr:
    520|484 1 1445855248 1 13|lex_in_32_1 1: Syntax error near `#'
    520|484 1 1445855248 1 14|FSUM6564 No lex rules
    520|484 1 1445855248 1 15|Command failed: 'c89 lex_out_32_1.c -l l 2>/dev/null'
    520|484 1 1445855248 1 16|Expected exit code = 0; Received 127
    220|484 1 1 06:12:39|FAIL
    410|484 32 1 06:12:39|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    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