VirtualBox

Changeset 103576 in vbox


Ignore:
Timestamp:
Feb 26, 2024 5:02:26 PM (9 months ago)
Author:
vboxsync
Message:

ValKit, storagecfg.py, cleanupLeftovers() function fix, added a bit of cleaning for sOutput received from execBinary function; utils/TestExecServ/win/vboxtxs.reg, added key for disabling UAC

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/storage/storagecfg.py

    r103572 r103576  
    123123        if fRc:
    124124            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
    127127            for sPool in asPools:
    128128                oMatchResult = re.match("%s[0-9]?[0-9]?" % sPoolIdStart, sPool)  # either re.Match obj or None
     
    141141        if fRc:
    142142            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
    145145            for sVolume in asVolumes:
    146146                oMatchResult = re.match("%s/%s" % (sPool, sVolumeIdStart), sVolume)  # either re.Match obj or None
  • trunk/src/VBox/ValidationKit/utils/TestExecServ/win/vboxtxs.reg

    r100215 r103576  
    1212"NTConfiguration"="c:\\Apps\\vboxtxs.cmd"
    1313
     14[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
     15"EnableLUA"="0"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette