VirtualBox

Ignore:
Timestamp:
Sep 2, 2019 2:03:40 PM (5 years ago)
Author:
vboxsync
Message:

ValidationKit/tdStorageBenchmark1: Try to fix execution on Windows where mkdir is not available

File:
1 edited

Legend:

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

    r80272 r80553  
    255255        if self.oTxsSession is not None:
    256256            fRc = self.oTxsSession.syncMkDir(sDir, fMode, cMsTimeout);
    257         else:
    258             fRc = self.execBinaryNoStdOut('mkdir', ('-m', format(fMode, 'o'), sDir));
     257        elif not os.path.isdir(sDir):
     258            fRc = os.mkdir(sDir, fMode);
    259259
    260260        return fRc;
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