VirtualBox

Ignore:
Timestamp:
Apr 26, 2018 3:40:26 PM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Re-enabled copy_to / copy_from testcases again.

File:
1 edited

Legend:

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

    r72008 r72046  
    928928            'dir_create', 'dir_create_temp', 'dir_read',
    929929            'file_remove', 'file_stat', 'file_read', 'file_write',
    930             #'copy_to', 'copy_from',
     930            'copy_to', 'copy_from',
    931931            'update_additions'
    932932        ];
     
    33863386            if self.oTstDrv.fpApiVer > 5.2: # Copying directories via Main is supported only in versions > 5.2.
    33873387                aaTests.extend([
    3388                     # Copying entire directories (destination is "<sScratch>", which exists, which should fail).
     3388                    # Copying entire directories (destination is "<sScratchHst>\Web").
    33893389                    [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\Web',
    33903390                                     sDst = sScratchHst),
    3391                       tdTestResult(fRc = False) ],
    3392                     # Ditto, with trailing slash.
     3391                      tdTestResult(fRc = True) ],
     3392                    # Repeat -- this time it should fail, as the destination directory already exists (and
     3393                    # DirectoryCopyFlag_CopyIntoExisting is not specified).
    33933394                    [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\Web',
    33943395                                     sDst = sScratchHst + "/"),
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