Changeset 107556 in vbox for trunk/src/VBox
- Timestamp:
- Jan 9, 2025 8:43:45 AM (10 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/storage/IoPerf.cpp
r106061 r107556 1231 1231 */ 1232 1232 int rc = RTTestInitAndCreate("IoPerf", &g_hTest); 1233 if ( rc)1234 return rc;1233 if (RT_FAILURE(rc)) 1234 return RTEXITCODE_FAILURE; 1235 1235 1236 1236 /* … … 1398 1398 rc = ioPerfDoTestMulti(); 1399 1399 1400 if (RT_FAILURE(rc)) 1401 RTTestFailed(g_hTest, "ioPerfDoTestXXX -> %Rrc\n", rc); 1402 1400 1403 g_szDir[g_cchDir] = '\0'; 1401 rc = RTDirRemoveRecursive(g_szDir, RTDIRRMREC_F_CONTENT_AND_DIR | (g_fRelativeDir ? RTDIRRMREC_F_NO_ABS_PATH : 0)); 1402 if (RT_FAILURE(rc)) 1403 RTTestFailed(g_hTest, "RTDirRemoveRecursive(%s,) -> %Rrc\n", g_szDir, rc); 1404 int rc2 = RTDirRemoveRecursive(g_szDir, 1405 RTDIRRMREC_F_CONTENT_AND_DIR | (g_fRelativeDir ? RTDIRRMREC_F_NO_ABS_PATH : 0)); 1406 if (RT_FAILURE(rc2)) 1407 RTTestFailed(g_hTest, "RTDirRemoveRecursive(%s,) -> %Rrc\n", g_szDir, rc2); 1404 1408 } 1405 1409 else
Note:
See TracChangeset
for help on using the changeset viewer.