Changeset 88254 in vbox for trunk/src/VBox/ValidationKit/tests/storage
- Timestamp:
- Mar 22, 2021 8:59:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/tdStorageSnapshotMerging1.py
r82968 r88254 48 48 from testdriver import vboxcon; 49 49 from testdriver import vboxwrappers; 50 51 # Python 3 hacks: 52 if sys.version_info[0] >= 3: 53 long = int; # pylint: disable=redefined-builtin,invalid-name 50 54 51 55 … … 284 288 fFmtDynamic = oDskFmt.id == 'VDI'; 285 289 sOrigWithDiffHd = '5.3/storage/mergeMedium/t-fixed.vdi' 286 uOrigCrc = 0x7a417cbb;290 uOrigCrc = long(0x7a417cbb); 287 291 288 292 if fFmtDynamic: 289 293 sOrigWithDiffHd = '5.3/storage/mergeMedium/t-resized.vdi'; 290 uOrigCrc = 0xa8f5daa3;294 uOrigCrc = long(0xa8f5daa3); 291 295 292 296 oOrigWithDiffHd = self.openMedium(sOrigWithDiffHd); … … 343 347 fRc = fRc and self.cloneMedium(oHd, oResHd); 344 348 345 uResCrc32 = 0;349 uResCrc32 = long(0); 346 350 if fRc: 347 uResCrc32 = crc32_of_file(sResFilePathRaw);351 uResCrc32 = long(crc32_of_file(sResFilePathRaw)); 348 352 if uResCrc32 == uOrigCrc: 349 353 reporter.log('Snapshot merged successfully. Crc32 is correct');
Note:
See TracChangeset
for help on using the changeset viewer.