VirtualBox

Ignore:
Timestamp:
Apr 8, 2022 8:17:12 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150874
Message:

Validation Kit/unit tests: Explicitly cast fMode to int in taskCopyFile(). ​​bugref:10195

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/txsclient.py

    r94522 r94526  
    10921092        # Note: If fMode is set to 0, it's up to the target OS' implementation with
    10931093        #       what a file mode the destination file gets created (i.e. via umask).
    1094         rc = self.sendMsg('CPFILE', (fMode, sSrcFile, sDstFile,));
     1094        rc = self.sendMsg('CPFILE', (int(fMode), sSrcFile, sDstFile,));
    10951095        if rc is True:
    10961096            rc = self.recvAckLogged('CPFILE');
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