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