Changeset 79965 in vbox for trunk/src/VBox/Storage/testcase
- Timestamp:
- Jul 24, 2019 8:32:32 PM (5 years ago)
- Location:
- trunk/src/VBox/Storage/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/testcase/tstVD.cpp
r76553 r79965 544 544 RTFileClose(File); 545 545 rc = VDGetFormat(NULL /* pVDIfsDisk */, NULL /* pVDIfsImage */, 546 pszBaseFilename, &pszFormat, &enmType);546 pszBaseFilename, VDTYPE_INVALID, &pszFormat, &enmType); 547 547 RTPrintf("VDGetFormat() pszFormat=%s rc=%Rrc\n", pszFormat, rc); 548 548 if (RT_SUCCESS(rc) && strcmp(pszFormat, pszBackend)) -
trunk/src/VBox/Storage/testcase/vbox-img.cpp
r76553 r79965 283 283 /* Don't pass error interface, as that would triggers error messages 284 284 * because some backends fail to open the image. */ 285 rc = VDGetFormat(NULL, NULL, pszFilename, &pszFormat, &enmType);285 rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszFormat, &enmType); 286 286 if (RT_FAILURE(rc)) 287 287 return errorRuntime("Format autodetect failed: %Rrc\n", rc); … … 419 419 /* Don't pass error interface, as that would triggers error messages 420 420 * because some backends fail to open the image. */ 421 rc = VDGetFormat(NULL, NULL, pszFilename, &pszFormat, &enmType);421 rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszFormat, &enmType); 422 422 if (RT_FAILURE(rc)) 423 423 return errorRuntime("Format autodetect failed: %Rrc\n", rc); … … 1215 1215 char *pszFormat = NULL; 1216 1216 VDTYPE enmType = VDTYPE_INVALID; 1217 rc = VDGetFormat(NULL, NULL, pszSrcFilename, &pszFormat, &enmType);1217 rc = VDGetFormat(NULL, NULL, pszSrcFilename, VDTYPE_INVALID, &pszFormat, &enmType); 1218 1218 if (RT_FAILURE(rc)) 1219 1219 { … … 1311 1311 char *pszFormat = NULL; 1312 1312 VDTYPE enmType = VDTYPE_INVALID; 1313 rc = VDGetFormat(NULL, NULL, pszFilename, &pszFormat, &enmType);1313 rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszFormat, &enmType); 1314 1314 if (RT_FAILURE(rc)) 1315 1315 return errorSyntax("Format autodetect failed: %Rrc\n", rc); … … 1407 1407 char *pszFormat = NULL; 1408 1408 VDTYPE enmType = VDTYPE_INVALID; 1409 int rc = VDGetFormat(NULL, NULL, pszFilename, &pszFormat, &enmType);1409 int rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszFormat, &enmType); 1410 1410 if (RT_FAILURE(rc)) 1411 1411 return errorSyntax("Format autodetect failed: %Rrc\n", rc); … … 1812 1812 if (!pszFormat) 1813 1813 { 1814 rc = VDGetFormat(NULL, NULL, pszFilename, &pszBackend, &enmType);1814 rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszBackend, &enmType); 1815 1815 if (RT_FAILURE(rc)) 1816 1816 return errorSyntax("Format autodetect failed: %Rrc\n", rc); … … 1865 1865 char *pszFormat = NULL; 1866 1866 VDTYPE enmType = VDTYPE_INVALID; 1867 rc = VDGetFormat(NULL, NULL, pszFilename, &pszFormat, &enmType);1867 rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszFormat, &enmType); 1868 1868 if (RT_FAILURE(rc)) 1869 1869 return errorSyntax("Format autodetect failed: %Rrc\n", rc); … … 2022 2022 char *pszFormat = NULL; 2023 2023 VDTYPE enmType = VDTYPE_INVALID; 2024 rc = VDGetFormat(NULL, NULL, pszFilename, &pszFormat, &enmType);2024 rc = VDGetFormat(NULL, NULL, pszFilename, VDTYPE_INVALID, &pszFormat, &enmType); 2025 2025 if (RT_FAILURE(rc)) 2026 2026 return errorSyntax("Format autodetect failed: %Rrc\n", rc);
Note:
See TracChangeset
for help on using the changeset viewer.