1TIME="LONG" 2AUTHOR = "Cleber Rosa <cleber@redhat.com>" 3NAME = 'xfsFilesystemTestSuiteStandaloneExt4Plain' 4TEST_CLASS = 'kernel' 5TEST_CATEGORY = 'Functional' 6TEST_TYPE = 'client' 7DOC = """ 8xfstests in autotest 9-------------------- 10 11This is a wrapper for running xfstests inside autotest. 12 13The control file creates the files (1GB), mount with a loopback device. 14 15""" 16from autotest_lib.client.bin import xfstest_util 17 18xfs_env = xfstest_util.xfstests_env() 19xfs_env.setup_partitions(job, fs_types=['ext4']) 20 21# 22# Finally, run the tests 23# 24try: 25 for fs_type in xfs_env.fs_types: 26 result = job.run_test_detail('xfstests', group='auto') 27 28finally: 29 xfs_env.unmount_partitions()