mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 20:39:35 +03:00
b1748eaee0
Add a test for the dirty dnode SEEK_HOLE/SEEK_DATA bug described in https://github.com/openzfs/zfs/issues/15526 The bug was fixed in https://github.com/openzfs/zfs/pull/15571 and was backported to 2.2.2 and 2.1.14. This test case is just to make sure it does not come back. seekflood.c originally written by Rob Norris. Reviewed-by: Graham Perrin <grahamperrin@freebsd.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rob Norris <robn@despairlabs.com> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #15608
52 lines
1.8 KiB
Makefile
52 lines
1.8 KiB
Makefile
SUBDIRS += %D%/tests
|
|
|
|
include $(srcdir)/%D%/cmd/Makefile.am
|
|
|
|
|
|
scripts_zfs_tests_functional_libzfsdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/libzfs
|
|
scripts_zfs_tests_functional_libzfs_PROGRAMS = %D%/tests/functional/libzfs/many_fds
|
|
%C%_tests_functional_libzfs_many_fds_LDADD = \
|
|
libzfs.la
|
|
|
|
scripts_zfs_tests_functional_hkdfdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/hkdf
|
|
scripts_zfs_tests_functional_hkdf_PROGRAMS = %D%/tests/functional/hkdf/hkdf_test
|
|
%C%_tests_functional_hkdf_hkdf_test_LDADD = \
|
|
libzpool.la
|
|
|
|
scripts_zfs_tests_functional_cp_filesdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/cp_files
|
|
scripts_zfs_tests_functional_cp_files_PROGRAMS = %D%/tests/functional/cp_files/seekflood
|
|
|
|
if BUILD_LINUX
|
|
scripts_zfs_tests_functional_tmpfiledir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/tmpfile
|
|
scripts_zfs_tests_functional_tmpfile_PROGRAMS = \
|
|
%D%/tests/functional/tmpfile/tmpfile_001_pos \
|
|
%D%/tests/functional/tmpfile/tmpfile_002_pos \
|
|
%D%/tests/functional/tmpfile/tmpfile_003_pos \
|
|
%D%/tests/functional/tmpfile/tmpfile_stat_mode \
|
|
%D%/tests/functional/tmpfile/tmpfile_test
|
|
endif
|
|
|
|
|
|
scripts_zfs_tests_callbacksdir = $(datadir)/$(PACKAGE)/zfs-tests/callbacks
|
|
dist_scripts_zfs_tests_callbacks_SCRIPTS = \
|
|
%D%/callbacks/zfs_dbgmsg.ksh \
|
|
%D%/callbacks/zfs_dmesg.ksh \
|
|
%D%/callbacks/zfs_failsafe.ksh \
|
|
%D%/callbacks/zfs_mmp.ksh
|
|
|
|
|
|
scripts_zfs_tests_includedir = $(datadir)/$(PACKAGE)/zfs-tests/include
|
|
dist_scripts_zfs_tests_include_DATA = \
|
|
%D%/include/blkdev.shlib \
|
|
%D%/include/commands.cfg \
|
|
%D%/include/libtest.shlib \
|
|
%D%/include/math.shlib \
|
|
%D%/include/properties.shlib \
|
|
%D%/include/tunables.cfg \
|
|
%D%/include/zpool_script.shlib
|
|
|
|
nodist_scripts_zfs_tests_include_DATA = \
|
|
%D%/include/default.cfg
|
|
|
|
SUBSTFILES += $(nodist_scripts_zfs_tests_include_DATA)
|