Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: client/samples/filesystem

Issue 6124004: Revert "Merge remote branch 'cros/upstream' into autotest-rebase" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/profilers/cpistat/cpistat.py ('k') | client/tests/hackbench/hackbench.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Uncomment this line, and replace the device with something sensible
2 # for you ...
3 # fs = job.partition('/dev/hda2', job.tmpdir)
4 # or ...
5
6 part = job.partition('/tmp/looped', 1024, job.tmpdir)
7
8 # dbench 1024, ltp, 1024-byte blocksize, a few other things. Lots of fscking.
9 # I haven't tested nobh mode yet,
10 # and I have yet to point run-bash-shared-mapping at it.
11 # (different mount options for ext3)
12
13 def test_fs():
14 part.mkfs(fstype)
15 part.mount()
16 try:
17 job.run_test('fsx', dir=part.mountpoint, tag=fstype)
18 job.run_test('iozone', dir=part.mountpoint, tag=fstype)
19 job.run_test('dbench', dir=part.mountpoint, tag=fstype)
20 finally:
21 part.unmount()
22 part.fsck()
23
24 for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'):
25 job.run_group(test_fs)
OLDNEW
« no previous file with comments | « client/profilers/cpistat/cpistat.py ('k') | client/tests/hackbench/hackbench.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698