Changeset 84588 in vbox for trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
- Timestamp:
- May 28, 2020 12:40:39 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138318
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r84577 r84588 2958 2958 # Test very long arguments. 2959 2959 if self.oTstDrv.fpApiVer >= 6.1: 2960 if oTestVm.isWindows() \2961 or oTestVm.isOS2():2962 sEcho = sShell;2963 sEchoSuffix = '';2964 else:2965 sEcho = oTestVm.pathJoin(self.oTstDrv.getGuestSystemDir(oTestVm), 'echo');2966 # The suffix acts as an indicator / beacon to see if the actual (random) args were received fully.2967 sEchoSuffix = "-n";2968 2969 2960 for _ in xrange(0, 16): 2961 if oTestVm.isWindows() \ 2962 or oTestVm.isOS2(): 2963 sCmd = sShell; 2964 asArgs = [ sShell, sShellOpt, "echo", 2965 self.oTestFiles.generateFilenameEx(128 * 1024, 2048), "--end-marker" ], 2966 else: 2967 sCmd = oTestVm.pathJoin(self.oTstDrv.getGuestSystemDir(oTestVm), 'echo'); 2968 asArgs = [ sCmd, 2969 self.oTestFiles.generateFilenameEx(128 * 1024, 2048), "--end-marker" ], 2970 2970 ## @todo Check limits; on Ubuntu with 256KB IPRT returns VERR_NOT_IMPLEMENTED. 2971 atExec.append([ tdTestExec(sCmd = sEcho, 2972 asArgs = [ sEcho, sShellOpt, 2973 self.oTestFiles.generateFilenameEx(128 * 1024, 2048), sEchoSuffix ], 2971 atExec.append([ tdTestExec(sCmd, asArgs, 2974 2972 afFlags = [ vboxcon.ProcessCreateFlag_WaitForStdOut, 2975 2973 vboxcon.ProcessCreateFlag_WaitForStdErr ]),
Note:
See TracChangeset
for help on using the changeset viewer.