Changeset 92822 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Dec 8, 2021 2:55:45 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148744
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r92681 r92822 1841 1841 reporter.log2('Copying guest dir "%s" to host "%s"' % (limitString(oTest.sSrc), limitString(oTest.sDst))); 1842 1842 try: 1843 if self.oTstDrv.fpApiVer >= 7.0: 1844 ## @todo Make the following new flags implicit for 7.0 for now. Develop dedicated tests for this later and remove. 1845 if vboxcon.DirectoryCopyFlag_Recursive not in oTest.afFlags: 1846 oTest.afFlags.extend([ vboxcon.DirectoryCopyFlag_Recursive ]); 1847 ## @todo Ditto. 1848 if vboxcon.DirectoryCopyFlag_FollowLinks not in oTest.afFlags: 1849 oTest.afFlags.extend([ vboxcon.DirectoryCopyFlag_FollowLinks ]); 1843 1850 oCurProgress = oGuestSession.directoryCopyFromGuest(oTest.sSrc, oTest.sDst, oTest.afFlags); 1844 1851 except: … … 1898 1905 def gctrlCopyDirTo(self, oGuestSession, sSrc, sDst, afFlags, fIsError): 1899 1906 """ 1900 Helper function to copy a directory treefrom the host to the guest.1907 Helper function to copy a directory (tree) from the host to the guest. 1901 1908 """ 1902 1909 reporter.log2('Copying host directory "%s" to guest "%s" (flags %s)' % (limitString(sSrc), limitString(sDst), afFlags)); 1903 1910 try: 1911 if self.oTstDrv.fpApiVer >= 7.0: 1912 ## @todo Make the following new flags implicit for 7.0 for now. Develop dedicated tests for this later and remove. 1913 if vboxcon.DirectoryCopyFlag_Recursive not in afFlags: 1914 afFlags.extend([ vboxcon.DirectoryCopyFlag_Recursive ]); 1915 ## @todo Ditto. 1916 if vboxcon.DirectoryCopyFlag_FollowLinks not in afFlags: 1917 afFlags.extend([ vboxcon.DirectoryCopyFlag_FollowLinks ]); 1904 1918 oCurProgress = oGuestSession.directoryCopyToGuest(sSrc, sDst, afFlags); 1905 1919 except:
Note:
See TracChangeset
for help on using the changeset viewer.