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 | a7c3447 | 2006-12-04 16:32:25 +0000 | [diff] [blame^] | 5 | # dbench 1024, ltp, 1024-byte blocksize, a few other things. Lots of fscking. |
| 6 | # I haven't tested nobh mode yet, |
| 7 | # and I have yet to point run-bash-shared-mapping at it. |
| 8 | # (different mount options for ext3) |
| 9 | |
mbligh | b15f963 | 2006-12-04 07:27:57 +0000 | [diff] [blame] | 10 | for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'): |
mbligh | d7fb4a6 | 2006-10-01 00:57:53 +0000 | [diff] [blame] | 11 | fs.mkfs(fstype) |
| 12 | fs.mount() |
| 13 | try: |
mbligh | d016ecc | 2006-11-25 21:41:07 +0000 | [diff] [blame] | 14 | job.run_test('fsx', job.tmpdir, tag=fstype) |
mbligh | 62107be | 2006-12-04 07:49:31 +0000 | [diff] [blame] | 15 | job.run_test('dbench', dir=job.tmpdir, tag=fstype) |
mbligh | d7fb4a6 | 2006-10-01 00:57:53 +0000 | [diff] [blame] | 16 | finally: |
| 17 | fs.unmount() |
| 18 | |