VirtualBox

Changeset 100080 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jun 6, 2023 7:34:09 AM (20 months ago)
Author:
vboxsync
Message:

tdCloneMedium1.py: Cloning to base test fixes: bugref:5995

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/tdCloneMedium1.py

    r100078 r100080  
    254254
    255255        try:
    256             oVBox = self.oTstDrv.oVBoxMgr.getVirtualBox()
    257256            oVM = self.oTstDrv.createTestVM('test-medium-clone-base', 1, None, 4)
    258257            assert oVM is not None
     
    265264            hd1 = oSession.createBaseHd(sHddPath, cb=1024*1024)
    266265            if hd1 is None:
    267                     fRc = False
     266                fRc = False
    268267            for i in range(2, cImages + 1):
    269268                sHddPath = os.path.join(self.oTstDrv.sScratchPath, 'CloneTest' + str(i) + '.vdi')
    270269                if i == 2:
    271270                    oHd = oSession.createDiffHd(hd1, sHddPath)
    272                     hd2 = oHd
    273271                else:
    274272                    oHd = oSession.createDiffHd(oHd, sHddPath)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette