Changeset 97604 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Nov 18, 2022 7:36:45 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r97586 r97604 4384 4384 acbChunks = (768*1024, 128*1024); 4385 4385 4386 reporter.log2('Chunked reads'); 4387 4386 4388 for cbChunk in acbChunks: 4387 4389 # Read the whole file straight thru: … … 4424 4426 # Random reads. 4425 4427 # 4428 reporter.log2('Random reads (seek)'); 4426 4429 for _ in xrange(8): 4427 4430 offFile = self.oTestFiles.oRandom.randrange(0, oTestFile.cbContent + 1024); … … 4472 4475 # Random reads using readAt. 4473 4476 # 4477 reporter.log2('Random reads (readAt)'); 4474 4478 for _ in xrange(12): 4475 4479 offFile = self.oTestFiles.oRandom.randrange(0, oTestFile.cbContent + 1024); … … 4513 4517 4514 4518 # Zero byte reads -> E_INVALIDARG. 4519 reporter.log2('Zero byte reads'); 4515 4520 try: 4516 4521 abRead = oFile.read(0, 30*1000); … … 4531 4536 # See what happens when we read 1GiB. We should get a max of 1MiB back. 4532 4537 ## @todo Document this behaviour in VirtualBox.xidl. 4538 reporter.log2('1GB reads'); 4533 4539 try: 4534 4540 oFile.seek(0, vboxcon.FileSeekOrigin_Begin);
Note:
See TracChangeset
for help on using the changeset viewer.