~ubuntu-branches/ubuntu/natty/virtualbox-ose/natty-updates

« back to all changes in this revision

Viewing changes to src/VBox/Devices/Storage/testcase/tstVDCopy.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-10-15 02:12:28 UTC
  • mfrom: (0.3.10 upstream) (0.4.19 sid)
  • Revision ID: james.westby@ubuntu.com-20101015021228-5e6vbxgtes8mg189
Tags: 3.2.10-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - VirtualBox should go in Accessories, not in System tools.
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Add ubuntu-01-fix-build-gcc45.patch to fix FTBFS due to uninitalized
  variables. Thanks to Lubomir Rintel <lkundrak@v3.sk> for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 */
6
6
 
7
7
/*
8
 
 * Copyright (C) 2006-2007 Oracle Corporation
 
8
 * Copyright (C) 2006-2010 Oracle Corporation
9
9
 *
10
10
 * This file is part of VirtualBox Open Source Edition (OSE), as
11
11
 * available from http://www.virtualbox.org. This file is free software;
173
173
    rc = VDShutdown();
174
174
    if (RT_FAILURE(rc))
175
175
    {
176
 
        RTPrintf("tstVD-2: unloading backends failed! rc=%Rrc\n", rc);
 
176
        RTPrintf("tstVDCopy: unloading backends failed! rc=%Rrc\n", rc);
177
177
        g_cErrors++;
178
178
    }
179
179
    /*
180
180
     * Summary
181
181
     */
182
182
    if (!g_cErrors)
183
 
        RTPrintf("tstVD-2: SUCCESS\n");
 
183
        RTPrintf("tstVDCopy: SUCCESS\n");
184
184
    else
185
 
        RTPrintf("tstVD-2: FAILURE - %d errors\n", g_cErrors);
 
185
        RTPrintf("tstVDCopy: FAILURE - %d errors\n", g_cErrors);
186
186
 
187
187
    return !!g_cErrors;
188
188
}