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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0811 Actions


    Problem Report Number 0811
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0326
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-08-27 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.cmd/xargs.ex 11
    Problem Summary TSD4C.00185 This test may fail on implementations that exec shell scripts by spawning a new shell which then evaluates its arguments before executing the script. Thus the arguments are evaluated twice.
    Problem Text
    The consultant's response to PG4C.00085 included the following:


    The command line in question is

    ExecuteCommand "$cmd -- $shellFile $shellfile" $inputFile \
    $stdoutFileB $stderrFileB

    where
    cmd=xargs
    shellfile=--

    The expression results in the following xargs command:

    eval xargs -- -- -- <$inputFile >$stdoutFileB 2>$stderrFileB


    The problem is that "shellfile" is never defined. "shellFile" is defined on
    line 926 for tp11. A find $HOME/vsc -print | xargs grep "shellfile" finds
    only the above line. Adding shellfile='--' after shellFile='--' or changing
    "shellfile" to "shellFile" corrects the intermittent failures I have been
    seeing. This is a problem with VSC 4.1.5 and VSC 4.1.6 Beta.
    Test Output

    ***********************************************************************
    /tset/POSIX.cmd/xargs/xargs.ex 1 Failed


    Test Information:
    Assertion #11 (A): End-of-options delimiter test
    *ERROR - command execution produced different exit codes
    *ERROR - Return Status = 0 127

    ***********************************************************************

    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