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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0829 Actions


    Problem Report Number 0829
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0344
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-02-28 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.5
    Test Identification POSIX.annexA/c89 8, 62
    Problem Summary TSD4C.00167 This test may fail because it violates the requirement that all options in a c89 command must appear before any operands.
    Problem Text
    This test may fail because it violates the requirement that all
    options in a c89 command must appear before any operands.

    Test #8
    uses the following commands:

    c89 file.c -g -o file1-1.out -D FOO
    c89 file.c -D FOO -o file1-2.out -g
    c89 file.c -g -D FOO -o file1-3.out

    c89 file.c -o file2-1.out -s -U FOO
    c89 file.c -o file2-2.out -U FOO -s
    c89 file.c -s -o file2-3.out -U FOO

    In each of these commands, file.c is the first operand but it appears
    prior to options such as -g or -o.

    Test #62 builds a command string at execution time of the form:

    c89 test_file.c -L test_dir1 -l test1 ... -L test_dir10 -l test10

    In this case, the options ("-L test_dir1", "-L test_dir2", etc.)
    appear after operands ("test_file.c", "-l test1", ,etc.).

    The Commands and Utilties document states that c89 supports the XBD
    specification, section 10.2, "Utility Syntax Guidelines". Guideline 9
    of this section states that all options should precede operands on the
    command line. The commands these tests use do not comply with this
    guideline of the the XPG4 standard and therefore should be changed.
    Test Output
    TP Start
    Assertion #8 (C): GA29 for the c89 options.
    Case 1: First and second object files obviously differ.
    Case 1: First and third object files obviously differ.
    Case 2: First and second object files obviously differ.
    Case 2: First and third object files obviously differ.
    FAIL

    IC Start
    TP Start
    Assertion #62 (C): At least 10 instances of -L dir option are supported.
    exit status is nonzero
    FAIL

    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