From 5b8c2edf546d9753d8c7cd954d11dd0b37be29d9 Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Wed, 20 Mar 2024 16:15:53 +0530 Subject: [PATCH] testcases: adding xfstests xfstests is a test suite for validating the reliability and stability of file systems in the Linux kernel. It covers a broad range of file systems, including ext4, XFS, Btrfs, and others, with tests for performance, error handling, and filesystem operations. Signed-off-by: Naresh Kamboju --- lava_test_plans/testcases/xfstests.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lava_test_plans/testcases/xfstests.yaml diff --git a/lava_test_plans/testcases/xfstests.yaml b/lava_test_plans/testcases/xfstests.yaml new file mode 100644 index 00000000..349c967b --- /dev/null +++ b/lava_test_plans/testcases/xfstests.yaml @@ -0,0 +1,25 @@ +{% extends "testcases/templates/test.jinja2" %} + +{% set test_name = test_name | default("xfstests") %} +{% set test_path_file = 'automated/linux/xfstests/xfstests.yaml' %} +{% set test_timeout = test_timeout | default(60) %} +{% set test_dev = test_dev | default("/dev/loop0") %} +{% set scratch_dev = scratch_dev | default("/dev/loop1") %} +{% set test_dir = test_dir | default("/mnt/test") %} +{% set scratch_dir = scratch_dir | default("/mnt/scratch") %} +{% set filesystem = filesystem | default("ext4") %} +{% set t_size = t_size | default("5G") %} +{% set s_size = s_size | default("8G") %} + +{% block test_target %} + {{ super() }} + parameters: + SKIP_INSTALL: 'true' + TEST_DEV: '{{test_dev}}' + SCRATCH_DEV: '{{scratch_dev}}' + TEST_DIR: '{{test_dir}}' + SCRATCH_DIR: '{{scratch_dir}}' + FILESYSTEM: '{{filesystem}}' + T_SIZE: '{{t_size}}' + S_SIZE: '{{s_size}}' +{% endblock test_target %}