Changeset 58291 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Oct 17, 2015 9:59:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTLocalIpc.cpp
r58290 r58291 286 286 RTTESTI_CHECK_RC(RTLocalIpcSessionWaitForData(hClientSession, 0), VERR_BROKEN_PIPE); 287 287 RTTESTI_CHECK_RC(RTLocalIpcSessionWaitForData(hClientSession, RT_MS_1SEC), VERR_BROKEN_PIPE); 288 289 bool fMayPanic = RTAssertSetMayPanic(false); 290 bool fQuiet = RTAssertSetQuiet(true); 291 292 RTTESTI_CHECK_RC(RTLocalIpcSessionWrite(hClientSession, RT_STR_TUPLE("broken")), VERR_BROKEN_PIPE); 293 uint8_t abBuf[4]; 294 RTTESTI_CHECK_RC(RTLocalIpcSessionRead(hClientSession, abBuf, sizeof(abBuf), NULL), VERR_BROKEN_PIPE); 295 size_t cbRead = _4M-1; 296 RTTESTI_CHECK_RC(RTLocalIpcSessionRead(hClientSession, abBuf, sizeof(abBuf), &cbRead), VERR_BROKEN_PIPE); 297 298 RTAssertSetMayPanic(fMayPanic); 299 RTAssertSetQuiet(fQuiet); 288 300 } 289 301
Note:
See TracChangeset
for help on using the changeset viewer.