Index: /trunk/src/VBox/Main/testcase/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Main/testcase/Makefile.kmk	(revision 50350)
+++ /trunk/src/VBox/Main/testcase/Makefile.kmk	(revision 50351)
@@ -87,5 +87,5 @@
 INSTALLS += ovf-testcases
 ovf-testcases_MODE = a+r,u+w
-ovf-testcases_INST = $(INST_BIN)ovf-testcases/
+ovf-testcases_INST = $(INST_TESTCASE)ovf-testcases/
 ovf-testcases_SOURCES = \
 	ovf-dummy.vmdk \
Index: /trunk/src/VBox/Main/testcase/ovf-winxp-vbox-sharedfolders/winxp.ovf
===================================================================
--- /trunk/src/VBox/Main/testcase/ovf-winxp-vbox-sharedfolders/winxp.ovf	(revision 50350)
+++ /trunk/src/VBox/Main/testcase/ovf-winxp-vbox-sharedfolders/winxp.ovf	(revision 50351)
@@ -300,5 +300,5 @@
         <StorageController name="IDE Controller" type="PIIX3" PortCount="2" useHostIOCache="true">
           <AttachedDevice type="HardDisk" port="0" device="0">
-            <Image uuid="{cf2b9350-4d5f-42a2-be70-b85a00c2ec9f}"/>
+            <Image uuid="{1fc3c37e-079b-477b-a6d7-84c0e8a717ac}"/>
           </AttachedDevice>
           <AttachedDevice type="HardDisk" port="0" device="1">
Index: /trunk/src/VBox/Main/testcase/tstOVF.cpp
===================================================================
--- /trunk/src/VBox/Main/testcase/tstOVF.cpp	(revision 50350)
+++ /trunk/src/VBox/Main/testcase/tstOVF.cpp	(revision 50351)
@@ -85,5 +85,6 @@
 {
     char szAbsOVF[RTPATH_MAX];
-    RTPathAbs(pcszOVF0, szAbsOVF, sizeof(szAbsOVF));
+    RTPathExecDir(szAbsOVF, sizeof(szAbsOVF));
+    RTPathAppend(szAbsOVF, sizeof(szAbsOVF), pcszOVF0);
 
     RTPrintf("%s: reading appliance \"%s\"...\n", pcszPrefix, szAbsOVF);
@@ -266,9 +267,15 @@
                         const char *pcszDest)
 {
+    char szSrc[RTPATH_MAX];
+    char szDst[RTPATH_MAX];
+    RTPathExecDir(szSrc, sizeof(szSrc));
+    RTPathAppend(szSrc, sizeof(szSrc), "ovf-testcases/ovf-dummy.vmdk");
+    RTPathExecDir(szDst, sizeof(szDst));
+    RTPathAppend(szDst, sizeof(szDst), pcszDest);
     RTPrintf("%s: copying ovf-dummy.vmdk to \"%s\"...\n", pcszPrefix, pcszDest);
 
-    int vrc = RTFileCopy("ovf-testcases/ovf-dummy.vmdk", pcszDest);
+    int vrc = RTFileCopy(szSrc, szDst);
     if (RT_FAILURE(vrc)) throw MyError(0, Utf8StrFmt("Cannot copy ovf-dummy.vmdk to %s: %Rra\n", pcszDest, vrc).c_str());
-    llFiles2Delete.push_back(pcszDest);
+    llFiles2Delete.push_back(szDst);
 }
 
@@ -283,4 +290,5 @@
     RTR3InitExe(argc, &argv, 0);
 
+    RTEXITCODE rcExit = RTEXITCODE_SUCCESS;
     HRESULT rc = S_OK;
 
@@ -329,4 +337,5 @@
         rc = e.m_rc;
         RTPrintf("%s", e.m_str.c_str());
+        rcExit = RTEXITCODE_FAILURE;
     }
 
@@ -361,4 +370,5 @@
         rc = e.m_rc;
         RTPrintf("%s", e.m_str.c_str());
+        rcExit = RTEXITCODE_FAILURE;
     }
 
@@ -377,7 +387,7 @@
     RTPrintf("Shutting down COM...\n");
     com::Shutdown();
-    RTPrintf ("tstOVF all done!\n");
-
-    return rc;
+    RTPrintf("tstOVF all done: %s\n", rcExit ? "ERROR" : "SUCCESS");
+
+    return rcExit;
 }
 
