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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0794 Actions


    Problem Report Number 0794
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0309
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1997-04-01 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.6
    Test Identification POSIX.cmd/mailx 1003
    Problem Summary TSD4C.00202 This test may fail on implementations where mailx returns non-zero but still creates the mail_out_1 file as required.
    Problem Text
    The XPG4 XCU specification allows mailx processing to continue if a
    error is encountered in the .mailrc file, mailx must give a non-zero
    exit status when mailx is exited. This assertion has no provision to
    handle implementations that continue processing after errors in the
    .mailrc file. From mailx_07.sh the code for tp1003 is below. As can be
    seen, if mailx returns non-zero the code marked (1 is skipped. This
    causes the test result to be UNREPORTED because no SetResult
    statement gets executed.

    for cmd in 'Copy 1' 'fo 1' 'F 1'
    do
    # Test with record before invalid command.
    rm -f mailx_out_1
    if [ $? -ne 0 ]; then
    SetResult $TET_UNRESOLVED "Command failed: 'rm -f mailx_out_1'"
    return
    fi

    setmailrc 'set record=mailx_out_1' "${cmd}"
    if [ $? -ne 0 ]; then
    SetResult $TET_UNRESOLVED "Command failed: 'setmailrc 'set record=ma
    ilx_out_1' \"${cmd}\"'"
    return
    fi


    genmail | mailx -s "subject" -n $VSC_MAIL_USER > $CT_STDOUT 2> $CT_STDER
    R
    CT_EXIT_VALUE=$?
    (1 if [ $CT_EXIT_VALUE -eq 0 ] ; then
    (1
    (1 .
    (1 .
    (1 .
    (1 .
    (1
    (1 fi
    done


    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/mailx/mailx_07.ex 1 UNREPORTED


    Test Information:
    Assertion #1003 (A): Error when Copy, followup or Followup
    <LC> in startup file

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

    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