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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0646 Actions


    Problem Report Number 0646
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0250
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    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/mailx/mailx_03.sh 177
    Problem Summary PG4C.00026 Setting of outfolder is irrelevant for this test purpose
    Problem Text
    This purpose is testing that outgoing mail is saved in
    `pwd`/mailx_out_folder/mailx_out_X when folder is set to
    `pwd`/mailx_out_folder and record is set to +mailx_out_X.

    We maintain this is only true if outfolder is set! And outfolder
    is not set anywhere in the testcase.

    The XCU4 specification *is* clear on this matter. Especially if we look
    at all three of the relevant entries:

    XCU4 page 466 states:

    folder=directory

    User-specified filenames beginning with a plus sign (+) will be
    expanded by preceeding the filename with this directory name to
    obtain the real pathname. ... unless ... folder is unset or
    set to null, user-specified filenames beginning with + refer to
    files in the current directory that begin with the literal +
    character.

    XCU4, page 467

    outfolder
    Cause the files used to record outgoing messages to be located
    in the directory specified by the _folder_ variable unless the
    pathname is absolute. The default is _nooutfolder_. See the
    _record_ variable.

    record=file
    Record all outgoing mail in the file with the pathname _file_.
    The default is _norecord_. See also _outfolder_ above.

    First note that the language in _outfolder_ is absolute, that is, it
    states in imperative terms "Cause..to be located in...unless the
    pathname is absolute."

    This means that none of this applies if _nooutfolder_ is active.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    As noted above, nooutfolder is the default, the testcase needs to
    do a set outfolder for the tests to work the way their are written
    now.

    Also note that _record_ says to see _outfolder_, and does *NOT* refer to
    _folder_ in any way. It is plain that if _outfolder_ is *NOT* set, then
    if record is set then the file goes into the local directory if the
    pathname is not absolute.

    There is *NOTHING* in these texts the suggests that if _nooutfolder_ is
    active, and _record_=+foo, that _folder_ should be used.

    Test Output
    ************************************************************************
    /tset/POSIX.cmd/mailx/mailx_03.ex 1 Failed


    Test Information:
    Assertion #177 (C): When record begins with a '+', then outgoing mail
    is saved in the folder directory
    Command failed: 'test -f `pwd`/mailx_out_folder/mailx_out_1'
    Command failed: 'test -f `pwd`/mailx_out_folder/mailx_out_2'
    Command failed: 'test -f /tsuites/VSC/tet_tmp_dir/8924a/mailx/d.mailx/ma
    ilx_out_folder/mailx_out_3'
    Command failed: 'test -f `pwd`/mailx_out_folder/mailx_out_4'
    ************************************************************************


    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    The full text for folder, outfolder and record is as follows...

    folder=directory
    The default directory for saving mail files.
    User-specified filenames beginning with a
    plus sign (+) will be expanded by preceding
    the filename with this directory name to
    obtain the real pathname. If directory does
    not start with a slash (/), the contents of
    HOME will be prefixed to it. The default is
    nofolder. If folder is unset or set to
    null, user-specified filenames beginning
    with + refer to files in the current
    directory that begin with the literal +
    character. See also outfolder below. The
    folder value need not affect the processing
    of the files named in MBOX and DEAD.

    outfolder
    Cause the files used to record outgoing
    messages to be located in the directory
    specified by the folder variable unless the
    pathname is absolute. The default is
    nooutfolder. See the record variable.

    record=file
    Record all outgoing mail in the file with
    the pathname file. The default is norecord.
    See also outfolder above.

    We agree that since outfolder is not set (nooutfolder is set)
    for this test the wording associated with outfolder has no
    influence on the discussion.

    This leaves only the text for folder and record to be considered.

    We also agree that the record text does not refer to folder.

    But we believe the folder text does refer to record. It clearly
    states that

    User-specified filenames beginning with a
    plus sign (+) will be expanded by preceeding
    the filename with this directory name to
    obtain the real pathname.

    This is applicable because the syntax for record is

    record=file

    Since file is a filename which may be specified by the user we beileve
    that the rules for pathname expansion set forward in the folder text
    apply, that the POSIX assertion is correct and the test implements
    the assertion correctly.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority