tstSSM-2.cpp revision 0888c638f6ea789c5bd594c5e81ef3b75e2fcf0b
/* $Id$ */
/** @file
* Saved State Manager Testcase: Extract the content of a saved state.
*/
/*
* Copyright (C) 2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
static RTEXITCODE extractUnit(const char *pszFilename, const char *pszUnitname, const char *pszOutputFilename)
{
if (RT_SUCCESS(rc))
{
if (RT_SUCCESS(rc))
{
if (RT_SUCCESS(rc))
{
for (;;)
{
if (RT_FAILURE(rc))
break;
cbUnit++;
}
}
else
}
else
}
else
return rcExit;
}
{
if (argc != 4)
{
/* don't fail by default */
return RTEXITCODE_SUCCESS;
}
}