Changeset 33524 in vbox for trunk/src/VBox/Devices/Storage/testcase/tstVD.cpp
- Timestamp:
- Oct 27, 2010 4:44:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/testcase/tstVD.cpp
r33083 r33524 92 92 AssertRC(rc); 93 93 94 rc = VDCreate(&VDIError, &pVD);94 rc = VDCreate(&VDIError, VDTYPE_HDD, &pVD); 95 95 CHECK("VDCreate()"); 96 96 … … 150 150 AssertRC(rc); 151 151 152 rc = VDCreate(&VDIError, &pVD);152 rc = VDCreate(&VDIError, VDTYPE_HDD, &pVD); 153 153 CHECK("VDCreate()"); 154 154 … … 505 505 PVBOXHDD pVD = NULL; 506 506 char *pszFormat; 507 VDTYPE enmType = VDTYPE_INVALID; 507 508 VDGEOMETRY PCHS = { 0, 0, 0 }; 508 509 VDGEOMETRY LCHS = { 0, 0, 0 }; … … 539 540 540 541 541 rc = VDCreate(&VDIError, &pVD);542 rc = VDCreate(&VDIError, VDTYPE_HDD, &pVD); 542 543 CHECK("VDCreate()"); 543 544 … … 548 549 RTFileClose(File); 549 550 rc = VDGetFormat(NULL /* pVDIfsDisk */, NULL /* pVDIfsImage */, 550 pszBaseFilename, &pszFormat );551 pszBaseFilename, &pszFormat, &enmType); 551 552 RTPrintf("VDGetFormat() pszFormat=%s rc=%Rrc\n", pszFormat, rc); 552 553 if (RT_SUCCESS(rc) && strcmp(pszFormat, pszBackend)) … … 664 665 665 666 666 rc = VDCreate(&VDIError, &pVD);667 rc = VDCreate(&VDIError, VDTYPE_HDD, &pVD); 667 668 CHECK("VDCreate()"); 668 669 … … 738 739 AssertRC(rc); 739 740 740 rc = VDCreate(&VDIError, &pVD);741 rc = VDCreate(&VDIError, VDTYPE_HDD, &pVD); 741 742 CHECK("VDCreate()"); 742 743 … … 789 790 AssertRC(rc); 790 791 791 rc = VDCreate(&VDIError, &pVD);792 rc = VDCreate(&VDIError, VDTYPE_HDD, &pVD); 792 793 CHECK("VDCreate()"); 793 794
Note:
See TracChangeset
for help on using the changeset viewer.