VirtualBox

Ignore:
Timestamp:
Feb 23, 2018 12:33:25 PM (7 years ago)
Author:
vboxsync
Message:

ValidationKit/tdMoveMedium: Fix testcase to accept the current behavior of 5.2 and older. Grumble.

File:
1 edited

Legend:

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

    r71099 r71115  
    172172            fRc = self.setLocation('onlyMediumName', aoMediumAttachments) and fRc
    173173            asNewFiles = ['onlyMediumName' + os.path.splitext(s)[1] for s in asFiles]
    174             fRc = self.checkLocation(sNewLoc, aoMediumAttachments, asNewFiles) and fRc
     174            if self.oTstDrv.fpApiVer >= 5.3:
     175                fRc = self.checkLocation(sNewLoc, aoMediumAttachments, asNewFiles) and fRc
     176            else:
     177                fRc = self.checkLocation(sNewLoc, aoMediumAttachments,
     178                                         [s.replace('.hdd', '.parallels') for s in asNewFiles]) and fRc
    175179
    176180            #case 5. Move all files from a snapshot
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