VirtualBox

Changeset 20905 in vbox for trunk


Ignore:
Timestamp:
Jun 24, 2009 9:38:42 PM (16 years ago)
Author:
vboxsync
Message:

tstSupSem-Zombie: minor adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem-Zombie.cpp

    r20904 r20905  
    5959    SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser;
    6060    RTThreadUserSignal(hSelf);
    61     return SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000);
     61    int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000);
     62    AssertReleaseMsgFailed(("%Rrc\n", rc));
     63    return rc;
    6264}
    6365
     
    6769    SUPSEMEVENTMULTI hEventMulti = (SUPSEMEVENTMULTI)pvUser;
    6870    RTThreadUserSignal(hSelf);
    69     return SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, 120*1000);
     71    int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, 120*1000);
     72    AssertReleaseMsgFailed(("%Rrc\n", rc));
     73    return rc;
    7074}
    7175
     
    7579    SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser;
    7680    RTThreadUserSignal(hSelf);
    77     return SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT);
     81    int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT);
     82    AssertReleaseMsgFailed(("%Rrc\n", rc));
     83    return rc;
    7884}
    7985
     
    8389    SUPSEMEVENTMULTI hEventMulti = (SUPSEMEVENTMULTI)pvUser;
    8490    RTThreadUserSignal(hSelf);
    85     return SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, RT_INDEFINITE_WAIT);
     91    int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, RT_INDEFINITE_WAIT);
     92    AssertReleaseMsgFailed(("%Rrc\n", rc));
     93    return rc;
    8694}
    8795
     
    196204                     || Status.iStatus != 0))
    197205            {
    198                 RTTestIFailed("child %u (%d) reason %d\n", Status.iStatus, Status.iStatus, Status.enmReason);
     206                RTTestIFailed("child %d (%#x) reason %d\n", Status.iStatus, Status.iStatus, Status.enmReason);
    199207                rc = VERR_PERMISSION_DENIED;
    200208            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette