VirtualBox

Changeset 83031 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Feb 10, 2020 10:02:23 AM (5 years ago)
Author:
vboxsync
Message:

VMM/tstSSM-2: Call RTR3InitExe() before doing anything else

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstSSM-2.cpp

    r82968 r83031  
    2323
    2424#include <VBox/log.h>
     25#include <iprt/assert.h>
    2526#include <iprt/getopt.h>
    2627#include <iprt/errcore.h>
     
    2829#include <iprt/path.h>
    2930#include <iprt/stream.h>
     31#include <iprt/initterm.h>
    3032
    3133static RTEXITCODE extractUnit(const char *pszFilename, const char *pszUnitname, const char *pszOutputFilename)
     
    7274int main(int argc, char **argv)
    7375{
     76    int rc = RTR3InitExe(argc, &argv, 0);
     77    AssertRCReturn(rc, RTEXITCODE_INIT);
     78
    7479    if (argc != 4)
    7580    {
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