VirtualBox

Ignore:
Timestamp:
Apr 5, 2018 11:15:34 AM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Copying files into directories via Main is supported only in versions > 5.2.

File:
1 edited

Legend:

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

    r71671 r71672  
    31993199                [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO,
    32003200                               sDst = os.path.join(sScratch, 'HostGuestAdditions.iso')),
    3201                   tdTestResult(fRc = True) ],
    3202                 # Destination is a directory.
    3203                 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO,
    3204                                sDst = sScratch),
    3205                   tdTestResult(fRc = True) ],
    3206                 # Copy over file again into same directory (overwrite).
    3207                 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO,
    3208                                sDst = sScratch),
    3209                   tdTestResult(fRc = True) ],
     3201                  tdTestResult(fRc = True) ]
    32103202            ]);
     3203
     3204            if self.oTstDrv.fpApiVer > 5.2: # Copying files into directories via Main is supported only in versions > 5.2.
     3205                aaTests.extend([
     3206                    # Destination is a directory.
     3207                    [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO,
     3208                                sDst = sScratch),
     3209                      tdTestResult(fRc = True) ],
     3210                    # Copy over file again into same directory (overwrite).
     3211                    [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO,
     3212                                sDst = sScratch),
     3213                      tdTestResult(fRc = True) ]
     3214                ]);
    32113215
    32123216            #
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