Changeset 103572 in vbox
- Timestamp:
- Feb 26, 2024 2:29:28 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/storagecfg.py
r103545 r103572 124 124 lstPools = []; 125 125 asPools = sOutput.splitlines(); 126 reporter.log('asPools: %s' % asPools); 126 127 for sPool in asPools: 127 128 oMatchResult = re.match("%s[0-9]?[0-9]?" % sPoolIdStart, sPool) # either re.Match obj or None 129 reporter.log('sPoolIdStart: %s, sPool: %s, oMatchResult: %s' % (sPoolIdStart, sPool, oMatchResult)) 128 130 if oMatchResult: 129 131 lstPools.append(oMatchResult.group(0)); … … 140 142 lstVolumes = []; 141 143 asVolumes = sOutput.splitlines(); 144 reporter.log('asVolumes: %s' % asVolumes); 142 145 for sVolume in asVolumes: 143 146 oMatchResult = re.match("%s/%s" % (sPool, sVolumeIdStart), sVolume) # either re.Match obj or None 147 reporter.log('sPool: %s, sVolumeIdStart: %s, sVolume: %s, OMatchResult: %s' % (sPool, sVolumeIdStart, 148 sVolume, oMatchResult)) 144 149 if oMatchResult: 145 150 lstVolumes.append(oMatchResult.group(0)); … … 687 692 reporter.log("oDiskCfg.getDisks: %s" % asDisks); 688 693 if os.path.exists(asDisks): 694 reporter.log('os.listdir(asDisks): %s' % asDisks) 689 695 for sEntry in os.listdir(asDisks): 690 fRc = fRc and self.oExec.rmTree(os.path.join(self.oDiskCfg.getDisks(), sEntry)); 696 sPath = os.path.join(self.oDiskCfg.getDisks(), sEntry); 697 reporter.log('path to sEntry: %s' % sPath) 698 fRc = fRc and self.oExec.rmTree(sPath); 691 699 reporter.log('cleanupLeftovers ends'); 692 700 return fRc;
Note:
See TracChangeset
for help on using the changeset viewer.