1 import os 2 from autotest_lib.client.bin import test, utils 3 4 5 class fio(test.test): 6 """Simple test that runs fio.""" 7 version = 2 8 9 def run_once(self, args = '', user = 'root'): 10 log = os.path.join(self.resultsdir, 'fio-mixed.log') 11 job = os.path.join(self.bindir, 'fio-mixed.job') 12 utils.system(' '.join(['fio', '--output', log, job])) 13