t/run-fio-tests: restrict t0031 to Linux only
authorVincent Fu <vincent.fu@samsung.com>
Thu, 21 Mar 2024 12:36:14 +0000 (08:36 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 21 Mar 2024 12:36:14 +0000 (08:36 -0400)
This test uses libaio. So run it only on Linux when libaio is available.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/run-fio-tests.py

index 1b884d871d53ded1c3e9a2f1143fc8f9e281e646..225806134e59a6ea3d181500e1f7c1680717363c 100755 (executable)
@@ -876,7 +876,7 @@ TEST_LIST = [
         'success':          SUCCESS_DEFAULT,
         'pre_job':          't0031-pre.fio',
         'pre_success':      SUCCESS_DEFAULT,
-        'requirements':     [],
+        'requirements':     [Requirements.linux, Requirements.libaio],
     },
     {
         'test_id':          1000,