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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2290 Actions


    Problem Report Number 2290
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1171
    Raised 2003-11-21 00:09
    Updated 2003-11-21 19:10
    Published 2003-11-21 19:10
    Product Standard Commands and Utilities V4 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.2.4A
    Test Identification POSIX.cmd/mailx/mailx_03.ex 195
    Specification Shell and Utilities Issue 6
    Location in Spec Line 23073 of the pdf version of SUSv3 TC1
    Problem Summary test not updated to SUSv3 TC1
    Problem Text Assertion 195 has not been updated to match the changes in TC1 for mailx.
    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/mailx/mailx_03.ex 195 Failed


    Test Information:
    Assertion #195 (C): A + at the beginning of a file argument is
    replaced with "$folder/" before shell word expansions
    Command failed: 'grep "IN MESSAGE 1" 'mailx_out_folder/a' >
    /dev/null
    2>&1'
    Command failed: 'grep "IN MESSAGE 2" 'mailx_out_folder/b' >
    /dev/null
    2>&1'
    Command failed: 'grep "IN MESSAGE 3" 'mailx_out_folder/c' >
    /dev/null
    2>&1'
    Command failed: 'grep "record test" 'mailx_out_folder/e' > /dev/null
    2>&1'
    Command failed: 'test -f mailx_out_4'
    Command failed: 'grep "IN MESSAGE 3" mailx_out_5 > /dev/null 2>&1'


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

    the SUSv3 TC1 spec states th following

    Filenames, where expected, shall be subjected to the following
    transformations, in sequence:

    If the filename begins with an unquoted plus sign, and the folder
    variable is defined, the plus sign shall be replaced by the value of the
    folder variable followed by a slash. If the folder variable is unset or
    is set to null, the filename shall be unchanged.

    Shell word expansions shall be applied to the filename. If more than a
    single pathname results from this expansion and the command is expecting
    one file, the effects are unspecified.



    The test does the following

    create files aa, bb, cc, dd, ee, ff in the folder directory

    in mailx

    >set dot
    >set folder=`pwd`/mailx_out_folder
    ># copy, write & save
    >copy 1 +a*
    >save 2 +b*
    >write 3 +c*
    .
    .
    .

    then it runs the following checks, that it expects to succeed

    grep "IN MESSAGE 1" 'mailx_out_folder/a' > /dev/null 2>&1
    grep "IN MESSAGE 2" 'mailx_out_folder/b' > /dev/null 2>&1
    grep "IN MESSAGE 3" 'mailx_out_folder/c' > /dev/null 2>&1
    .
    .
    .


    There will never be files a, b, c,... created in the folder directory
    because the spec requires that shell word expansions be used. Thus for
    example, copy 1 +a* will copy message 1 to mailx_out_folder/aa.

    Review Information

    Review Type TSMA Review
    Start Date 2003-11-21 00:09
    Last Updated 2003-11-21 00:59
    Completed 2003-11-21 00:59
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2003-11-21 00:59
    Last Updated 2003-11-21 19:10
    Completed 2003-11-21 19:10
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority