Changeset 84736 in vbox
- Timestamp:
- Jun 9, 2020 11:27:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r84734 r84736 2958 2958 tdTestResultExec(fRc = True) ]); 2959 2959 2960 # Test very long arguments. 2961 # Old(er) Windows OSes tend to crash in cmd.exe, so skip this. 2960 # Test very long arguments. Be careful when tweaking this to not break the tests. 2962 2961 # Regarding paths: 2963 2962 # - We have RTPATH_BIG_MAX (64K) … … 2965 2964 # - On Windows, each path component must not be longer than MAX_PATH (260), see 2966 2965 # https://docs.microsoft.com/en-us/windows/win32/fileio/filesystem-functionality-comparison#limits 2966 # 2967 # Old(er) Windows OSes tend to crash in cmd.exe, so skip this on these OSes. 2967 2968 if self.oTstDrv.fpApiVer >= 6.1 \ 2968 2969 and oTestVm.sKind not in ('WindowsNT4', 'Windows2000', 'WindowsXP', 'Windows2003'): … … 2982 2983 2983 2984 # Append a random number of arguments with random length. 2984 for _ in xrange(0, self.oTestFiles.oRandom.randrange(1, 16)):2985 for _ in xrange(0, self.oTestFiles.oRandom.randrange(1, 64)): 2985 2986 asArgs.append(''.join(random.choice(string.lowercase) 2986 for _ in range(self.oTestFiles.oRandom.randrange(1, 16 * 1024))));2987 for _ in range(self.oTestFiles.oRandom.randrange(1, 255)))); 2987 2988 2988 2989 asArgs.append(sEndMarker);
Note:
See TracChangeset
for help on using the changeset viewer.