Changeset 58299 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Oct 18, 2015 7:35:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTLocalIpc.cpp
r58296 r58299 242 242 RTTESTI_CHECK_RC(RTLocalIpcSessionWaitForData(hIpcSession, RT_MS_1MIN), VINF_SUCCESS); 243 243 244 #ifndef RT_OS_WINDOWS245 244 size_t cbRead; 246 245 char szCmd[64]; … … 250 249 RTTestIFailed("cbRead=%zu, expected %zu; szCmd='%s', expected 'disconnect'\n", 251 250 cbRead, sizeof("disconnect") - 1, szCmd); 252 #endif253 251 254 252 RTTESTI_CHECK_RC(RTLocalIpcSessionClose(hIpcSession), VINF_OBJECT_DESTROYED); … … 285 283 uint8_t abBuf[4]; 286 284 size_t cbRead = _4M-1; 287 #ifndef RT_OS_WINDOWS288 285 RTTESTI_CHECK_RC(RTLocalIpcSessionReadNB(hClientSession, abBuf, sizeof(abBuf), &cbRead), VINF_TRY_AGAIN); 289 286 RTTESTI_CHECK(cbRead == 0); 290 #endif291 287 292 288 /* Trigger server disconnect. */ … … 310 306 cbRead = _4M-1; 311 307 RTTESTI_CHECK_RC(RTLocalIpcSessionRead(hClientSession, abBuf, sizeof(abBuf), &cbRead), VERR_BROKEN_PIPE); 312 #ifndef RT_OS_WINDOWS313 308 cbRead = _1G/2; 314 309 RTTESTI_CHECK_RC(RTLocalIpcSessionReadNB(hClientSession, abBuf, sizeof(abBuf), &cbRead), VERR_BROKEN_PIPE); 315 #endif316 310 317 311 RTAssertSetMayPanic(fMayPanic);
Note:
See TracChangeset
for help on using the changeset viewer.