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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0791 Actions


    Problem Report Number 0791
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0306
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1997-12-03 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 365 366
    Problem Summary TSD4C.00205 This test may fail on implementations that insert a status header line.
    Problem Text

    The command:
    printf "set toplines=4\ntop 1\nsave 1 365_1.out\n" | mailx -n -f mailx_in | awk '
    creates 365_1.out with a Status header. The output of the top command
    does not have a Status header.
    Since the mail file being processed contains no status headers when
    mailx is started, the top command does not display a status header.
    The status header gets added *after* the top command completes.

    When the status header is updated during a mailx command
    is not defined by the standard.
    If the test is changed to:
    printf "set toplines=4\ntouch 1\ntop 1\nsave 1 365_1.out\n"
    | mailx -n -f mailx_in | awk '
    mailx will have added a status header as a result of the touch
    command and the subsequent top and save commands will have
    status headers with the same status code.
    Test Output

    520|211 1 1392508958 1 1|Assertion #365 (C): Specification of mailx toplines va
    520|211 1 1392508958 1 2| <LC> riable
    520|211 1 1392508958 1 11|diff of "365_2.out" and "365_3.out":
    520|211 1 1392508958 1 12|2a3
    520|211 1 1392508958 1 13|> Status: R
    520|211 1 1392508958 1 14|4d4
    520|211 1 1392508958 1 15|<
    520|211 1 1392508958 1 16|Command failed: 'jrnl_file_diff 365_2.out 365_3.out'
    220|211 1 1 14:50:41|FAIL
    410|211 365 1 14:50:41|IC End
    400|211 366 1 14:50:43|IC Start
    200|211 1 14:50:43|TP Start
    520|211 1 1392508958 1 1|Assertion #366 (C): Default value for mailx toplines v
    520|211 1 1392508958 1 2| <LC> ariable is 5
    520|211 1 1392508958 1 11|diff of "366_2.out" and "366_3.out":
    520|211 1 1392508958 1 12|2a3
    520|211 1 1392508958 1 13|> Status: R
    520|211 1 1392508958 1 14|5d5
    520|211 1 1392508958 1 15|< THIS IS IN MESSAGE 1
    520|211 1 1392508958 1 16|Command failed: 'jrnl_file_diff 366_2.out 366_3.out'
    220|211 1 1 14:50:54|FAIL
    410|211 366 1 14:50:55|IC End

    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