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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0988 Actions


    Problem Report Number 0988
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0503
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-07-27 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.4
    Test Identification POSIX.cmd/xargs 1013
    Problem Summary TSD4C.00006 Test method does not match specification requirements.
    Problem Text
    This calls xargs with the arguments

    -L2 -s50 echo mark

    and the input file:

    line one
    line two
    line three
    line four with blank
    line five
    line six

    According to XPG4, the -L2 option should cause two lines to be
    used together (the only exception is for the last invocation,
    which may be executed with fewer lines if less than two remain).

    The -s option restricts the maximum command line to 50 bytes
    (fewer are used if EOF is reached or if the total number of lines
    used would exceed that given by -L - i.e. two).

    The expected output then must be:
    mark line one line two

    then an error, as "echo mark line three line four with blank line
    five" is over 50 characters (note that the -x argument is forced
    with -[lL])

    I can see no reason for the output expected by the test suite
    which breaks the line "mark line three line four with blank line
    five" - there is no provision in the standard for such behaviour.
    Test Output
    15|1 1.10 1|TCM Start
    400|1 1013 1 09:42:26|IC Start
    200|1 1 09:42:26|TP Start
    520|1 1 2325 1 1|Assertion #1013 (A):
    Check 'xargs' option '-s size' overrides ' -Lfp' option
    520|1 1 2325 1 1|Results file does not match expected results file.
    520|1 1 2325 1 1|*ERROR - Unexpected output file contents
    520|1 1 2325 1 2|*ERROR - stdout: mark line one line two
    220|1 1 1 09:42:28|FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This test will always fail as shown above on a conforming system.
    It may or may not pass on non-confirming systems.

    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