Changeset 95777 in vbox for trunk/src/VBox
- Timestamp:
- Jul 21, 2022 3:03:58 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/api/tdTreeDepth1.py
r94599 r95777 124 124 # re-register to test loading of settings 125 125 reporter.log('opening VM %s, testing config reading' % (sSettingsFile)) 126 oVM = oVBox.openMachine(sSettingsFile) 126 if self.fpApiVer >= 7.0: 127 # Needs a password parameter since 7.0. 128 oVM = oVBox.openMachine(sSettingsFile, "") 129 else: 130 oVM = oVBox.openMachine(sSettingsFile) 127 131 ## @todo r=klaus: count known hard disk images, should be cImages 128 132 … … 196 200 # re-register to test loading of settings 197 201 reporter.log('opening VM %s, testing config reading' % (sSettingsFile)) 198 oVM = oVBox.openMachine(sSettingsFile) 202 if self.fpApiVer >= 7.0: 203 # Needs a password parameter since 7.0. 204 oVM = oVBox.openMachine(sSettingsFile, "") 205 else: 206 oVM = oVBox.openMachine(sSettingsFile) 199 207 reporter.log('API reports %i snapshots' % (oVM.snapshotCount)) 200 208 fRc = fRc and oVM.snapshotCount == cSnapshots … … 219 227 from tdApi1 import tdApi1; # pylint: disable=relative-import 220 228 sys.exit(tdApi1([SubTstDrvTreeDepth1]).main(sys.argv)) 221
Note:
See TracChangeset
for help on using the changeset viewer.