VirtualBox

Changeset 97993 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Jan 5, 2023 9:55:51 AM (2 years ago)
Author:
vboxsync
Message:

Main/testcases/tstGuestCtrlPaths: Disable assertions where they are expected to fix asan testcases on testboxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstGuestCtrlPaths.cpp

    r97538 r97993  
    3434using namespace com;
    3535
     36#include <iprt/assert.h>
    3637#include <iprt/env.h>
    3738#include <iprt/rand.h>
     
    125126     * Destination path building testing.
    126127     */
     128    bool fQuiet    = RTAssertSetQuiet(true);
     129    bool fMayPanic = RTAssertSetMayPanic(false);
    127130    tstPathBuildDestination("", PathStyle_UNIX, "", PathStyle_UNIX, VERR_PATH_ZERO_LENGTH, "");
    128131    tstPathBuildDestination(".", PathStyle_UNIX, ".", PathStyle_UNIX, VINF_SUCCESS, ".");
     
    151154    tstPathBuildDestination("/tmp/bar/foo.txt", PathStyle_UNIX, "c:\\temp\\foo2.txt", PathStyle_DOS, VINF_SUCCESS, "c:\\temp\\foo2.txt");
    152155    tstPathBuildDestination("/tmp/bar/foo3.txt", PathStyle_UNIX, "c:\\temp\\", PathStyle_DOS, VINF_SUCCESS, "c:\\temp\\foo3.txt");
     156    RTAssertSetMayPanic(fMayPanic);
     157    RTAssertSetQuiet(fQuiet);
    153158
    154159    RTTestIPrintf(RTTESTLVL_DEBUG, "Shutting down COM...\n");
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