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

Side by Side Diff: client/samples/control.fs

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month 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/samples/control.alt_tags ('k') | client/samples/control.fs_options » ('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 AUTHOR = "Autotest Team <autotest@test.kernel.org>"
2 TIME = "MEDIUM"
3 NAME = "Sample - Filesystem tests with different filesystems"
4 TEST_TYPE = "client"
5 TEST_CLASS = "Kernel"
6 TEST_CATEGORY = "Functional"
7
8 DOC = """
9 Runs a series of filesystem tests on a loopback partition using different
10 filesystem types. his shows some features of the job.partition method, such as
11 creating loopback partitions instead of using real disk partitions, looping.
12 """
13
14 partition = job.partition('/tmp/looped', 1024, job.tmpdir)
15 # You can use also 'real' partitions, just comment the above and uncomment
16 # the below
17 #partition = job.partition('/dev/sdb1', job.tmpdir)
18
19 def test_fs():
20 partition.mkfs(fstype)
21 partition.mount()
22 try:
23 job.run_test('fsx', dir=partition.mountpoint, tag=fstype)
24 job.run_test('iozone', dir=partition.mountpoint, tag=fstype)
25 job.run_test('dbench', dir=partition.mountpoint, tag=fstype)
26 finally:
27 partition.unmount()
28 partition.fsck()
29
30
31 for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'):
32 job.run_group(test_fs)
OLDNEW
« no previous file with comments | « client/samples/control.alt_tags ('k') | client/samples/control.fs_options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698