Skip to content

Commit

Permalink
testcases: adding xfstests
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Naresh Kamboju committed Mar 20, 2024
1 parent ff26734 commit 5b8c2ed
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions lava_test_plans/testcases/xfstests.yaml
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit 5b8c2ed

Please sign in to comment.