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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1837 Actions


    Problem Report Number 1837
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0914
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1993-10-15 08:00
    Product Standard X Window System Applications Interface
    Certification Program The Open Brand certification program
    Test Suite VSW version 4.1.1
    Test Identification CH08/mprqst 1
    Problem Summary TSD4W.00098 Test may fail in a network configuration.
    Problem Text
    This fail occurs only in the network case, not in the local case.
    The fail is due to the fact that the routine winh_harvest(),
    inside the file xtest/src/lib/winh.c, doesn't do any retry after
    XPending returns 0.
    When XPending returns 0, this only means that the client has not received
    a given event so far.
    Instead, the suite assumes that the client has not received,
    and WILL NOT receive, the event.
    We have experimented that the server actually SENDS the event, and the
    client RECEIVES it, but it
    arrives AFTER win_harvest (and the subsequent
    XPending) is called.
    A proof of this is that if we spend a little time before calling
    win_harvest() (e.g. by inserting a printf), the event is correctly found.

    We believe that the loop starting at the first instruction of
    win_harvest(), which is

    while (XPending(display) > 0) {

    should be modified and a wait condition (with a reasonable number of
    retries) should be inserted.
    Test Output
    Test-Set Name: /tset/CH08/mprqst/mprqst
    ---------------------------------------

    Test-Set Results:
    ----------------

    Test-Set Started: 22:19:13

    Test Results:

    ************************************************************************
    /tset/CH08/mprqst/mprqst 1 Failed

    Test Description:
    When a MapRequest event is generated, then all clients
    having set SubstructureRedirectMask event mask bits on the
    parent of the window for which the map request was issued
    are delivered a MapRequest event.

    Test Strategy:
    Create clients client2 and client3.
    Build and create window hierarchy.
    Create inferiors with override-redirect set to True.
    Select for ConfigureRequest events using SubstructureRedirectMask.
    Select for no events with client3.
    Map window.
    Verify that no events were delivered.
    Verify that no events were delivered to client3.
    Unmap window.
    Set the override-redirect flag on inferiors to False.
    Attempt to map window.
    Initialize for expected events.
    Verify that a ConfigureRequest event is delivered.
    Verify that no events are delivered to client3.
    Verify members of event structure.
    Verify that no events were delivered to client3.

    Test Information:
    Expected MapRequest event on window 0x400003 from client 0x80bdc70
    Event delivery not as expected
    ************************************************************************

    Test-Set Ended: 22:19:32

    Test-Set Results Summary:


    Test Agency: Olivetti System Tested: i486-5020-EVC
    Test Date: Aug 25, 1993 Page 256 of 427




    X/OPEN Window Management Verification Suite Release 4.1.1
    Test-Set Summary Test-Set Summary


    ------------------------

    2 Tests Executed
    1 Tests Failed
    1 Tests Not In Use

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted to be a test suite deficiency.

    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