Skip to content

Commit

Permalink
add variants for nilfs2
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
  • Loading branch information
Kent Overstreet committed Jul 9, 2024
1 parent 3b7087d commit c7551e9
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 31 deletions.
17 changes: 0 additions & 17 deletions tests/jfs.ktest

This file was deleted.

14 changes: 0 additions & 14 deletions tests/nilfs2.ktest

This file was deleted.

6 changes: 6 additions & 0 deletions tests/nilfs2/fstests-quota.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

export MKFS_OPTIONS="-m reflink=1,rmapbt=1 -i sparse=1,nrext64=1"
export MOUNT_OPTIONS=" -o usrquota,grpquota,prjquota"

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/fstests.ktest
7 changes: 7 additions & 0 deletions tests/nilfs2/fstests-rt.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

export MKFS_OPTIONS="-d rtinherit=1, -m reflink=1,rmapbt=1 -i sparse=1,nrext64=1"
export TEST_RTDEV=/dev/sde
export SCRATCH_RTDEV=/dev/sdf

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/fstests.ktest
15 changes: 15 additions & 0 deletions tests/nilfs2/fstests.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

. $(dirname $(readlink -e "${BASH_SOURCE[0]}"))/../xfstests.sh

require-kernel-config NILFS2_FS

export FSTYP=nilfs2
export MKFS_OPTIONS=

run_tests()
{
run_xfstests "$@"
}

main "$@"
7 changes: 7 additions & 0 deletions tests/nilfs2/gcov-fstests.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/../test-libs.sh

require-gcov fs/xfs

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/fstests.ktest
3 changes: 3 additions & 0 deletions tests/nilfs2/kasan-fstests.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/../kasan-base.sh
3 changes: 3 additions & 0 deletions tests/nilfs2/lockdep-fstests.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/../lockdep-base.sh
3 changes: 3 additions & 0 deletions tests/nilfs2/ubsan-fstests.ktest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/../ubsan-base.sh

0 comments on commit c7551e9

Please sign in to comment.