- Timestamp:
- Feb 19, 2024 12:08:00 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/testcase/tstInt.cpp
r103285 r103432 72 72 PSUPDRVSESSION pSession; 73 73 int rc = SUPR3Init(&pSession); 74 rcRet += rc != 0;75 74 RTPrintf("tstInt: SUPR3Init -> rc=%Rrc\n", rc); 75 if (RT_FAILURE(rc)) 76 return 1; 77 76 78 char szFile[RTPATH_MAX]; 79 rc = RTPathExecDir(szFile, sizeof(szFile)); 77 80 if (RT_SUCCESS(rc)) 78 rc = RTPath ExecDir(szFile, sizeof(szFile));81 rc = RTPathAppend(szFile, sizeof(szFile), "VMMR0.r0"); 79 82 80 83 char szAbsFile[RTPATH_MAX]; 81 84 if (RT_SUCCESS(rc)) 82 { 83 rc = RTPathAppend(szFile, sizeof(szFile), "VMMR0.r0"); 84 if (RT_SUCCESS(rc)) 85 rc = RTPathAbs(szFile, szAbsFile, sizeof(szAbsFile)); 86 } 85 rc = RTPathAbs(szFile, szAbsFile, sizeof(szAbsFile)); 87 86 if (RT_SUCCESS(rc)) 88 87 { … … 234 233 RTPrintf("tstInt: SUPR3Term -> rc=%Rrc\n", rc); 235 234 } 236 237 if (RT_FAILURE(rc)) 238 RTPrintf("Failed with rc=%Rrc\n", rc); 239 240 return !!rc; 235 else 236 { 237 RTPrintf("tstInt: Failed to construct VMMR0.r0 path: %Rrc\n", rc); 238 rcRet++; 239 } 240 241 return rcRet; 241 242 } 242 243
Note:
See TracChangeset
for help on using the changeset viewer.

