VirtualBox

Ignore:
Timestamp:
Jun 4, 2024 10:18:23 AM (8 months ago)
Author:
vboxsync
Message:

ValidationKit/tests/storage: Revert r163412 and fix regression introduced by r163338 (unlike execBinaryNoStdOut() execBinary() returns a tuple, so assigning the return value to fRc was wrong )

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

Legend:

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

    r104832 r104833  
    216216        else:
    217217            fRc = False;
    218         return fRc, sOutput, sError;
     218        return (fRc, sOutput, sError);
    219219
    220220    def execBinaryNoStdOut(self, sExec, asArgs, sInput = None):
  • trunk/src/VBox/ValidationKit/tests/storage/storagecfg.py

    r104770 r104833  
    345345                if cbVol is not None:
    346346                    sFdiskScript = ',' + str(cbVol // 512) + '\n'; # Get number of sectors
    347                 fRc = oExec.execBinary('sfdisk', ('--no-reread', '--wipe', 'always', '-q', '-f', sDiskPath), \
    348                                                sFdiskScript);
     347                fRc, _, _ = oExec.execBinary('sfdisk', ('--no-reread', '--wipe', 'always', '-q', '-f', sDiskPath), \
     348                                             sFdiskScript);
    349349                if fRc:
    350350                    if sDiskPath.find('nvme') != -1:
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