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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1434 Actions


    Problem Report Number 1434
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0716
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-01-17 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification base/setitimer 3
    Problem Summary TSD4U.00099 This test may fail on implementations where the variable i is optimized out of existence and causes the test to fail.
    Problem Text
    This test may fail on implementations where the variable i is
    optimized out of existence and causes the test to fail.

    The variable i is local and never referenced other than to be loaded.
    Since the test code does not protect against dead variable removal, the
    variable maybe optimized out. As a result, the expected signal may
    not be received when the test is in a tight while loop that provides
    no opportunity to receive the signal.

    The variable i should be declared volatile or make i a global variable
    either one of which will disallow this form of optimization. You
    could also pass i to another function.
    Test Output
    70||"SPEC1170TESTSUITE AREA setitimer 0"
    110|0 /tset/CAPIbase/fsetitimer/fsetitimer3 14:20:45|Build Start, scenario ref 3-1
    130|0 0 14:20:51|Build End
    10|1 /tset/CAPIbase/fsetitimer/fsetitimer3 14:20:51|TC Start, scenario ref 3-1, ICs {3}
    15|1 1.10 1|TCM Start
    400|1 3 1 14:20:51|IC Start
    200|1 1 14:20:51|TP Start
    520|1 1 8187 1 1|SPEC1170TESTSUITE CASE 3
    520|1 1 8187 1 2|A call to int setitimer(int which, const
    520|1 1 8187 1 3|struct itimerval *value, struct itimerval *ovalue)
    520|1 1 8187 1 4|when the it_value member of the structure pointed to
    520|1 1 8187 1 5|by value is non-zero shall set the time to the next
    520|1 1 8187 1 6|timer expiration.
    520|1 1 8202 1 1|PREP: Set the timer to a known value
    520|1 1 8202 1 2|TEST: setitimer() sets the proper timer value
    520|1 1 8187 2 1|ERROR: Test took longer than 600 seconds: presuming
    520|1 1 8187 2 2| function is hung and terminating test
    220|1 1 1 14:30:51|FAIL
    410|1 3 1 14:30:51|IC End
    80|1 0 14:30:51|TC 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