mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
bc27c49404
This provides a test driver and a set of test vectors for the page alignment check callback function vdev_disk_check_pages_cb(). Because there's no good facility for exposing this function to a userspace test right now, for now I'm just duplicating the function and adding commentary to remind people to keep them in sync. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #16076
55 lines
2.0 KiB
Makefile
55 lines
2.0 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_vdev_diskdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/vdev_disk
|
|
scripts_zfs_tests_functional_vdev_disk_PROGRAMS = %D%/tests/functional/vdev_disk/page_alignment
|
|
|
|
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)
|