You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
366 B

import os
from autotest_lib.client.bin import test, utils
class fio(test.test):
"""Simple test that runs fio."""
version = 2
def run_once(self, args = '', user = 'root'):
log = os.path.join(self.resultsdir, 'fio-mixed.log')
job = os.path.join(self.bindir, 'fio-mixed.job')
utils.system(' '.join(['fio', '--output', log, job]))