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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0981 Actions


    Problem Report Number 0981
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0496
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-08-03 08:00
    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.upe/fc 28
    Problem Summary TSD4C.00013 Test method is flawed.
    Problem Text
    This test uses expect to execute commands and generate a corresponding
    history file. It ends with the following

    send "echo ---end---\r"
    expect "*\r\n$ "
    send "fc -l \$cmdnum > fc_out_28\r"
    expect "*\r\n$ "
    send "exit 0\r"
    expect eof
    exit

    The test then checks to see if

    echo ---end---

    is the last command in the history file.

    This is wrong. Since the echo and fc commands are both executed
    interactively the fc command will be the last command in the
    history file.

    This problem causes the test to FAIL.
    Test Output
    15|1 1.10 1|TCM Start
    400|1 28 1 11:42:28|IC Start
    200|1 1 11:42:28|TP Start
    520|1 1 2706 1 1|Assertion #28 (C):
    fc -l <first> defaults <last> to most recent command.
    520|1 1 2706 1 1|expected last command "echo ---end---", got:
    520|1 1 2706 1 2|Contents of fc_last_28:
    520|1 1 2706 1 3|6415 fc -l $cmdnum > fc_out_28
    220|1 1 1 11:42:34|FAIL

    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