- Timestamp:
- Apr 4, 2023 12:59:19 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r99188 r99279 2320 2320 limitString(oTest.aEnv),)); 2321 2321 try: 2322 if self.oTstDrv.fpApiVer >= 7.1 :2322 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 2323 2323 oProcess = oGuestSession.processCreate(oTest.sCmd, 2324 2324 oTest.asArgs if self.oTstDrv.fpApiVer >= 5.0 else oTest.asArgs[1:], … … 2889 2889 try: 2890 2890 reporter.log2('Starting stale process #%d...' % (i)); 2891 if self.oTstDrv.fpApiVer >= 7.1 :2891 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 2892 2892 oGuestSession.processCreate(sShell, 2893 2893 asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], … … 2930 2930 try: 2931 2931 reporter.log2('Starting non-stale process #%d...' % (i)); 2932 if self.oTstDrv.fpApiVer >= 7.1 :2932 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 2933 2933 oCurProc = oGuestSession.processCreate(sShell, asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], 2934 2934 "", # Working directory. … … 2988 2988 try: 2989 2989 reporter.log2('Starting blocking process #%d...' % (i)); 2990 if self.oTstDrv.fpApiVer >= 7.1 :2990 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 2991 2991 oCurProc = oGuestSession.processCreate(sCmd, asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], 2992 2992 "", # Working directory. … … 3424 3424 afFlags = []; 3425 3425 try: 3426 if self.oTstDrv.fpApiVer >= 7.1 :3426 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 3427 3427 oGuestProcess = oGuestSession.processCreate(sImage, 3428 3428 asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], … … 3547 3547 fRc = True; 3548 3548 try: 3549 if self.oTstDrv.fpApiVer >= 7.1 :3549 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 3550 3550 oCurProcess = oGuestSession.processCreate(sShell, [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], 3551 3551 "", # Working directory. … … 3590 3590 # 3591 3591 try: 3592 if self.oTstDrv.fpApiVer >= 7.1 :3592 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 3593 3593 oCurProcess = oGuestSession.processCreate(sShell, [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], 3594 3594 "", # Working directory. … … 3916 3916 fUseDirList = False; 3917 3917 cEntriesPerRead = random.randrange(1, 32768); 3918 if self.oTstDrv.fpApiVer >= 7.1: # Listing directories only is available for >= VBox 7.1. 3918 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 3919 # Listing directories only is available for >= VBox 7.1. 3919 3920 fUseDirList = random.choice( [True, False] ); 3920 3921 (fRc2, cDirs, cFiles, cOthers) = self.gctrlReadDirTree(oCurTest, oCurGuestSession, oCurRes.fRc, … … 3965 3966 fUseDirList = False; 3966 3967 cEntriesPerRead = random.randrange(1, 32768); 3967 if self.oTstDrv.fpApiVer >= 7.1: # Listing directories only is available for >= VBox 7.1. 3968 if self.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.uRevision >= 156485: 3969 # Listing directories only is available for >= VBox 7.1. 3968 3970 fUseDirList = random.choice( [True, False] ); 3969 3971 fRc = self.gctrlReadDirTree2(oCurGuestSession, oDir, fUseDirList, cEntriesPerRead) and fRc;
Note:
See TracChangeset
for help on using the changeset viewer.