Changeset 99150 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Mar 23, 2023 6:00:47 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156515
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r99129 r99150 2320 2320 try: 2321 2321 if self.oTstDrv.fpApiVer >= 7.1: 2322 oProcess = oGuestSession.processCreate(oTest.sCmd, oTest.sCwd,2322 oProcess = oGuestSession.processCreate(oTest.sCmd, 2323 2323 oTest.asArgs if self.oTstDrv.fpApiVer >= 5.0 else oTest.asArgs[1:], 2324 oTest.sCwd, 2324 2325 oTest.aEnv, oTest.afFlags, oTest.timeoutMS); 2325 2326 else: … … 2888 2889 reporter.log2('Starting stale process #%d...' % (i)); 2889 2890 if self.oTstDrv.fpApiVer >= 7.1: 2890 oGuestSession.processCreate(sShell, "",2891 oGuestSession.processCreate(sShell, 2891 2892 asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], [], 2893 "", # Working directory. 2892 2894 [ vboxcon.ProcessCreateFlag_WaitForStdOut ], 30 * 1000); 2893 2895 else: … … 2927 2929 reporter.log2('Starting non-stale process #%d...' % (i)); 2928 2930 if self.oTstDrv.fpApiVer >= 7.1: 2929 oCurProc = oGuestSession.processCreate(sShell, "", asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], 2931 oCurProc = oGuestSession.processCreate(sShell, asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], 2932 "", # Working directory. 2930 2933 [], [], 0); # Infinite timeout. 2931 2934 else: … … 2984 2987 reporter.log2('Starting blocking process #%d...' % (i)); 2985 2988 if self.oTstDrv.fpApiVer >= 7.1: 2986 oCurProc = oGuestSession.processCreate(sCmd, "", asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], 2989 oCurProc = oGuestSession.processCreate(sCmd, asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], 2990 "", # Working directory. 2987 2991 [], [], 30 * 1000); 2988 2992 else: … … 3419 3423 try: 3420 3424 if self.oTstDrv.fpApiVer >= 7.1: 3421 oGuestProcess = oGuestSession.processCreate(sImage, "",3425 oGuestProcess = oGuestSession.processCreate(sImage, 3422 3426 asArgs if self.oTstDrv.fpApiVer >= 5.0 else asArgs[1:], aEnv, afFlags, 3427 "", # Working directory. 3423 3428 30 * 1000); 3424 3429 else: … … 3540 3545 try: 3541 3546 if self.oTstDrv.fpApiVer >= 7.1: 3542 oCurProcess = oGuestSession.processCreate(sShell, "", [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], 3547 oCurProcess = oGuestSession.processCreate(sShell, [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], 3548 "", # Working directory. 3543 3549 [], [], 30 * 1000); 3544 3550 else: … … 3582 3588 try: 3583 3589 if self.oTstDrv.fpApiVer >= 7.1: 3584 oCurProcess = oGuestSession.processCreate(sShell, "", [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], 3585 [], [], 3 * 1000); 3590 oCurProcess = oGuestSession.processCreate(sShell, [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], 3591 "", # Working directory. 3592 [], [], 3 * 1000); 3586 3593 else: 3587 3594 oCurProcess = oGuestSession.processCreate(sShell, [sShell,] if self.oTstDrv.fpApiVer >= 5.0 else [], … … 5577 5584 5578 5585 for _ in xrange(100): 5579 oProc = oGuestSession.processCreate(sCmd, "", asArgs if self.fpApiVer >= 5.0 else asArgs[1:], 5586 oProc = oGuestSession.processCreate(sCmd, asArgs if self.fpApiVer >= 5.0 else asArgs[1:], 5587 "", # Working directory. 5580 5588 aEnv, afFlags, 30 * 1000); 5581 5589
Note:
See TracChangeset
for help on using the changeset viewer.