VirtualBox

Changeset 84440 in vbox for trunk/src


Ignore:
Timestamp:
May 22, 2020 7:39:41 AM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddSharedFolders1.py: Don't specify absolute paths for stuff which should be in %PATH% / $PATH anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddSharedFolders1.py

    r84282 r84440  
    293293                or oTestVm.isOS2():
    294294                    sFsPerfPathTemp = "C:\\Temp\\" + sFsPerfImage;
    295                     sCopy           = "C:\\Windows\\System32\\cmd.exe";
     295                    sCopy           = "cmd.exe";
    296296                    sCopyArgs       = ( sCopy, "/C", "copy", "/Y",  sFsPerfPath, sFsPerfPathTemp );
    297297                else:
    298298                    sFsPerfPathTemp = "/var/tmp/" + sFsPerfImage;
    299                     sCopy           = "/bin/cp";
     299                    sCopy           = "cp";
    300300                    sCopyArgs       = ( sCopy, "-a", "-v", sFsPerfPath, sFsPerfPathTemp );
    301301                fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Copying FsPerf', 60 * 1000,
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