# Uncomment this line, and replace the device with something sensible | |
# for you ... | |
# fs = job.filesystem('/dev/hda2', job.tmpdir) | |
for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'): | |
fs.mkfs(fstype) | |
fs.mount() | |
try: | |
job.run_test('fsx', job.tmpdir, tag=fstype) | |
job.run_test('dbench', dir=job.tmpdir, tag=fstype) | |
finally: | |
fs.unmount() | |