mbligh | d7fb4a6 | 2006-10-01 00:57:53 +0000 | [diff] [blame] | 1 | # Uncomment this line, and replace the device with something sensible |
| 2 | # for you ... |
| 3 | # fs = job.filesystem('/dev/hda2', job.tmpdir) |
| 4 | |
mbligh | b15f963 | 2006-12-04 07:27:57 +0000 | [diff] [blame] | 5 | for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'): |
mbligh | d7fb4a6 | 2006-10-01 00:57:53 +0000 | [diff] [blame] | 6 | fs.mkfs(fstype) |
| 7 | fs.mount() |
| 8 | try: |
mbligh | d016ecc | 2006-11-25 21:41:07 +0000 | [diff] [blame] | 9 | job.run_test('fsx', job.tmpdir, tag=fstype) |
mbligh | 62107be | 2006-12-04 07:49:31 +0000 | [diff] [blame^] | 10 | job.run_test('dbench', dir=job.tmpdir, tag=fstype) |
mbligh | d7fb4a6 | 2006-10-01 00:57:53 +0000 | [diff] [blame] | 11 | finally: |
| 12 | fs.unmount() |
| 13 | |