VirtualBox

Changeset 103493 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Feb 21, 2024 1:47:58 PM (11 months ago)
Author:
vboxsync
Message:

Runtime/testcase/tstRTCircBuf: Just return if creation of the circular buffer failed as the next call would crash the testcase anyway, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTCircBuf.cpp

    r98103 r103493  
    6161    RTTestISub("Creation");
    6262    PRTCIRCBUF pBuf;
    63     RTTESTI_CHECK_RC(RTCircBufCreate(&pBuf, 10), VINF_SUCCESS);
     63    RTTESTI_CHECK_RC_OK_RETV(RTCircBufCreate(&pBuf, 10));
    6464    RTTESTI_CHECK(RTCircBufFree(pBuf) == 10);
    6565    RTTESTI_CHECK(RTCircBufUsed(pBuf) == 0);
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