~ubuntu-branches/ubuntu/quantal/virtualbox/quantal

« back to all changes in this revision

Viewing changes to src/VBox/VMM/testcase/tstVMMFork.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-05-29 10:09:31 UTC
  • mfrom: (3.1.15 sid)
  • Revision ID: package-import@ubuntu.com-20120529100931-2xayrbh5hyzm6e9p
Tags: 4.1.16-dfsg-1
* New upstream release.
* Drop 37-fix-build-gcc47.patch, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        /*
146
146
         * Cleanup.
147
147
         */
 
148
        rc = VMR3PowerOff(pVM);
 
149
        if (!RT_SUCCESS(rc))
 
150
        {
 
151
            RTPrintf(TESTCASE ": error: failed to power off vm! rc=%Rrc\n", rc);
 
152
            rcErrors++;
 
153
        }
148
154
        rc = VMR3Destroy(pVM);
149
155
        if (!RT_SUCCESS(rc))
150
156
        {
151
 
            RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc);
 
157
            RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%Rrc\n", rc);
152
158
            rcErrors++;
153
159
        }
154
160
    }
155
161
    else
156
162
    {
157
 
        RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc);
 
163
        RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%Rrc\n", rc);
158
164
        rcErrors++;
159
165
    }
160
166