VirtualBox

Changeset 57284 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Aug 12, 2015 10:33:35 AM (9 years ago)
Author:
vboxsync
Message:

actually evaluated fAsyncMayFail

File:
1 edited

Legend:

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

    r57282 r57284  
    191191            && enmType == RTFSTYPE_TMPFS)
    192192            fAsyncMayFail = true;
    193         RTTESTI_CHECK_RC(rc = RTFileOpen(&hFile, "tstFileAio#1.tst",
    194                                          RTFILE_O_READWRITE | RTFILE_O_CREATE_REPLACE | RTFILE_O_DENY_NONE | RTFILE_O_ASYNC_IO),
    195                          VINF_SUCCESS);
     193        RTTESTI_CHECK((rc = RTFileOpen(&hFile, "tstFileAio#1.tst",
     194                                       RTFILE_O_READWRITE | RTFILE_O_CREATE_REPLACE | RTFILE_O_DENY_NONE | RTFILE_O_ASYNC_IO)
     195                       ) == (   VINF_SUCCESS
     196                             || (rc == VERR_INVALID_PARAMETER && fAsyncMayFail)));
    196197        if (RT_SUCCESS(rc))
    197198        {
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