Changeset 78678 in vbox for trunk/src/VBox/ValidationKit/tests/additions/tdAddSharedFolders1.py
- Timestamp:
- May 23, 2019 1:24:51 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddSharedFolders1.py
r78677 r78678 157 157 # Run FsPerf inside the guest. 158 158 # 159 reporter.testStart('FsPerf');160 159 fSkip = 'fsperf' not in self.asTests; 161 160 if fSkip is False: … … 193 192 asArgs.append('--add-block-size=134217728'); # 128 MiB 194 193 194 # Putting lots (10000) of files in a single directory causes issues on OS X 195 # (HFS+ presumably, though could be slow disks) and some linuxes (slow disks, 196 # maybe ext2/3?). So, generally reduce the file count to 4096 everywhere 197 # since we're not here to test the host file systems, and 3072 on macs. 198 if utils.getHostOs() in [ 'darwin', ]: 199 asArgs.append('--many-files=3072'); 200 elif utils.getHostOs() in [ 'linux', ]: 201 asArgs.append('--many-files=4096'); 202 203 # Add the extra arguments from the command line and kick it off: 195 204 asArgs.extend(self.asExtraArgs); 196 205 reporter.log2('Starting guest FsPerf (%s)...' % (asArgs,)); … … 204 213 try: shutil.rmtree(sTestDir); 205 214 except: fRc = reporter.errorXcpt('shutil.rmtree(%s)' % (sTestDir,)); 206 207 reporter.testDone(fSkip or fRc is None);208 215 else: 216 reporter.testStart('FsPerf'); 217 reporter.testDone(fSkip or fRc is None); 209 218 210 219 return (fRc, oTxsSession);
Note:
See TracChangeset
for help on using the changeset viewer.