Changeset 103576 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Feb 26, 2024 5:02:26 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/storagecfg.py
r103572 r103576 123 123 if fRc: 124 124 lstPools = []; 125 asPools = sOutput.splitlines();126 reporter.log('asPools: %s' % asPools) ;125 asPools = re.sub("b'|'", "", sOutput).rstrip("\\n").split("\\n") # as sOutput could look like "b'blabla'" 126 reporter.log('asPools: %s' % asPools) # plus delete excessive end-of-line 127 127 for sPool in asPools: 128 128 oMatchResult = re.match("%s[0-9]?[0-9]?" % sPoolIdStart, sPool) # either re.Match obj or None … … 141 141 if fRc: 142 142 lstVolumes = []; 143 asVolumes = sOutput.splitlines();144 reporter.log('asVolumes: %s' % asVolumes) ;143 asVolumes = re.sub("b'|'", "", sOutput).rstrip("\\n").split("\\n") # as sOutput could look like "b'blabla'" 144 reporter.log('asVolumes: %s' % asVolumes) # plus delete excessive end-of-line 145 145 for sVolume in asVolumes: 146 146 oMatchResult = re.match("%s/%s" % (sPool, sVolumeIdStart), sVolume) # either re.Match obj or None
Note:
See TracChangeset
for help on using the changeset viewer.