mirror of
				https://git.proxmox.com/git/mirror_zfs
				synced 2025-10-31 07:58:45 +00:00 
			
		
		
		
	tests: cmd: don't recurse
This confers an >10x speedup on t/z-t/cmd builds (12s -> 1.1s), gets rid of 23 redundant identical automake specs and gitignores, and groups the binaries with their common headers Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
		
							parent
							
								
									caeab993ec
								
							
						
					
					
						commit
						e294acdba8
					
				
							
								
								
									
										33
									
								
								configure.ac
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								configure.ac
									
									
									
									
									
								
							| @ -201,39 +201,6 @@ AC_CONFIG_FILES([ | ||||
| 	tests/zfs-tests/Makefile | ||||
| 	tests/zfs-tests/callbacks/Makefile | ||||
| 	tests/zfs-tests/cmd/Makefile | ||||
| 	tests/zfs-tests/cmd/badsend/Makefile | ||||
| 	tests/zfs-tests/cmd/btree_test/Makefile | ||||
| 	tests/zfs-tests/cmd/chg_usr_exec/Makefile | ||||
| 	tests/zfs-tests/cmd/devname2devid/Makefile | ||||
| 	tests/zfs-tests/cmd/draid/Makefile | ||||
| 	tests/zfs-tests/cmd/dir_rd_update/Makefile | ||||
| 	tests/zfs-tests/cmd/file_check/Makefile | ||||
| 	tests/zfs-tests/cmd/file_trunc/Makefile | ||||
| 	tests/zfs-tests/cmd/file_write/Makefile | ||||
| 	tests/zfs-tests/cmd/get_diff/Makefile | ||||
| 	tests/zfs-tests/cmd/getversion/Makefile | ||||
| 	tests/zfs-tests/cmd/largest_file/Makefile | ||||
| 	tests/zfs-tests/cmd/libzfs_input_check/Makefile | ||||
| 	tests/zfs-tests/cmd/mkbusy/Makefile | ||||
| 	tests/zfs-tests/cmd/mkfile/Makefile | ||||
| 	tests/zfs-tests/cmd/mkfiles/Makefile | ||||
| 	tests/zfs-tests/cmd/mktree/Makefile | ||||
| 	tests/zfs-tests/cmd/mmap_exec/Makefile | ||||
| 	tests/zfs-tests/cmd/mmap_libaio/Makefile | ||||
| 	tests/zfs-tests/cmd/mmap_seek/Makefile | ||||
| 	tests/zfs-tests/cmd/mmapwrite/Makefile | ||||
| 	tests/zfs-tests/cmd/nvlist_to_lua/Makefile | ||||
| 	tests/zfs-tests/cmd/randfree_file/Makefile | ||||
| 	tests/zfs-tests/cmd/randwritecomp/Makefile | ||||
| 	tests/zfs-tests/cmd/readmmap/Makefile | ||||
| 	tests/zfs-tests/cmd/linux_dos_attributes/Makefile | ||||
| 	tests/zfs-tests/cmd/rename_dir/Makefile | ||||
| 	tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile | ||||
| 	tests/zfs-tests/cmd/send_doall/Makefile | ||||
| 	tests/zfs-tests/cmd/stride_dd/Makefile | ||||
| 	tests/zfs-tests/cmd/threadsappend/Makefile | ||||
| 	tests/zfs-tests/cmd/user_ns_exec/Makefile | ||||
| 	tests/zfs-tests/cmd/xattrtest/Makefile | ||||
| 	tests/zfs-tests/include/Makefile | ||||
| 	tests/zfs-tests/tests/Makefile | ||||
| 	tests/zfs-tests/tests/functional/Makefile | ||||
|  | ||||
							
								
								
									
										34
									
								
								tests/zfs-tests/cmd/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								tests/zfs-tests/cmd/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,34 @@ | ||||
| /badsend | ||||
| /btree_test | ||||
| /chg_usr_exec | ||||
| /devname2devid | ||||
| /dir_rd_update | ||||
| /draid | ||||
| /file_check | ||||
| /file_trunc | ||||
| /file_write | ||||
| /get_diff | ||||
| /getversion | ||||
| /largest_file | ||||
| /libzfs_input_check | ||||
| /mkbusy | ||||
| /mkfile | ||||
| /mkfiles | ||||
| /mktree | ||||
| /mmap_exec | ||||
| /mmap_libaio | ||||
| /mmap_seek | ||||
| /mmapwrite | ||||
| /nvlist_to_lua | ||||
| /randfree_file | ||||
| /randwritecomp | ||||
| /read_dos_attributes | ||||
| /readmmap | ||||
| /rename_dir | ||||
| /rm_lnkcnt_zero_file | ||||
| /send_doall | ||||
| /stride_dd | ||||
| /threadsappend | ||||
| /user_ns_exec | ||||
| /write_dos_attributes | ||||
| /xattrtest | ||||
| @ -1,40 +1,145 @@ | ||||
| EXTRA_DIST = file_common.h | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS = badsend | ||||
| badsend_SOURCES = badsend.c | ||||
| badsend_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs/libzfs.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += btree_test | ||||
| btree_test_SOURCES = btree_test.c | ||||
| # Unconditionally enable ASSERTs
 | ||||
| btree_test_CPPFLAGS = $(AM_CPPFLAGS) -DDEBUG -UNDEBUG -DZFS_DEBUG | ||||
| btree_test_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzpool/libzpool.la \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += chg_usr_exec | ||||
| chg_usr_exec_SOURCES = chg_usr_exec.c | ||||
| 
 | ||||
| 
 | ||||
| if WANT_DEVNAME2DEVID | ||||
| pkgexec_PROGRAMS += devname2devid | ||||
| devname2devid_SOURCES = devname2devid.c | ||||
| devname2devid_CFLAGS = $(AM_CFLAGS) $(LIBUDEV_CFLAGS) | ||||
| devname2devid_LDADD = $(LIBUDEV_LIBS) | ||||
| endif | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += dir_rd_update | ||||
| dir_rd_update_SOURCES = dir_rd_update.c | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += draid | ||||
| draid_CFLAGS = $(AM_CFLAGS) $(ZLIB_CFLAGS) | ||||
| draid_SOURCES = draid.c | ||||
| draid_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzpool/libzpool.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| draid_LDADD += $(ZLIB_LIBS) | ||||
| 
 | ||||
| 
 | ||||
| EXTRA_DIST = file/file_common.h | ||||
| pkgexec_PROGRAMS += file_check file_trunc file_write largest_file randwritecomp | ||||
| file_check_SOURCES = file/file_check.c | ||||
| file_trunc_SOURCES = file/file_trunc.c | ||||
| file_write_SOURCES = file/file_write.c | ||||
| largest_file_SOURCES = file/largest_file.c | ||||
| randwritecomp_SOURCES = file/randwritecomp.c | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += get_diff | ||||
| get_diff_SOURCES = get_diff.c | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += libzfs_input_check | ||||
| libzfs_input_check_SOURCES = libzfs_input_check.c | ||||
| if BUILD_FREEBSD | ||||
| libzfs_input_check_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/include/os/freebsd/zfs | ||||
| endif | ||||
| if BUILD_LINUX | ||||
| libzfs_input_check_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/include/os/linux/zfs | ||||
| endif | ||||
| libzfs_input_check_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += mkbusy mkfile mkfiles mktree | ||||
| mkbusy_SOURCES = mkbusy.c | ||||
| mkfile_SOURCES = mkfile.c | ||||
| mkfile_LDADD = $(LTLIBINTL) | ||||
| mkfiles_SOURCES = mkfiles.c | ||||
| mktree_SOURCES = mktree.c | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += mmap_exec mmap_seek mmapwrite readmmap | ||||
| mmap_exec_SOURCES = mmap_exec.c | ||||
| mmap_seek_SOURCES = mmap_seek.c | ||||
| mmapwrite_SOURCES = mmapwrite.c | ||||
| mmapwrite_LDADD = -lpthread | ||||
| readmmap_SOURCES = readmmap.c | ||||
| 
 | ||||
| if WANT_MMAP_LIBAIO | ||||
| pkgexec_PROGRAMS += mmap_libaio | ||||
| mmap_libaio_SOURCES = mmap_libaio.c | ||||
| mmap_libaio_CFLAGS = $(AM_CFLAGS) $(LIBAIO_CFLAGS) | ||||
| mmap_libaio_LDADD = $(LIBAIO_LIBS) | ||||
| endif | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += nvlist_to_lua | ||||
| nvlist_to_lua_SOURCES = nvlist_to_lua.c | ||||
| nvlist_to_lua_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| 
 | ||||
| 
 | ||||
| pkgexec_PROGRAMS += rename_dir | ||||
| rename_dir_SOURCES = rename_dir.c | ||||
| 
 | ||||
| pkgexec_PROGRAMS += rm_lnkcnt_zero_file | ||||
| rm_lnkcnt_zero_file_SOURCES = rm_lnkcnt_zero_file.c | ||||
| rm_lnkcnt_zero_file_LDADD = -lpthread | ||||
| 
 | ||||
| pkgexec_PROGRAMS += send_doall | ||||
| send_doall_SOURCES = send_doall.c | ||||
| send_doall_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs/libzfs.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| 
 | ||||
| pkgexec_PROGRAMS += stride_dd | ||||
| stride_dd_SOURCES = stride_dd.c | ||||
| stride_dd_LDADD = -lrt | ||||
| 
 | ||||
| pkgexec_PROGRAMS += threadsappend | ||||
| threadsappend_SOURCES = threadsappend.c | ||||
| threadsappend_LDADD = -lpthread | ||||
| 
 | ||||
| SUBDIRS = \
 | ||||
| 	badsend \
 | ||||
| 	btree_test \
 | ||||
| 	chg_usr_exec \
 | ||||
| 	devname2devid \
 | ||||
| 	dir_rd_update \
 | ||||
| 	draid \
 | ||||
| 	file_check \
 | ||||
| 	file_trunc \
 | ||||
| 	file_write \
 | ||||
| 	get_diff \
 | ||||
| 	largest_file \
 | ||||
| 	libzfs_input_check \
 | ||||
| 	mkbusy \
 | ||||
| 	mkfile \
 | ||||
| 	mkfiles \
 | ||||
| 	mktree \
 | ||||
| 	mmap_exec \
 | ||||
| 	mmap_libaio \
 | ||||
| 	mmap_seek \
 | ||||
| 	mmapwrite \
 | ||||
| 	nvlist_to_lua \
 | ||||
| 	randwritecomp \
 | ||||
| 	readmmap \
 | ||||
| 	rename_dir \
 | ||||
| 	rm_lnkcnt_zero_file \
 | ||||
| 	send_doall \
 | ||||
| 	stride_dd \
 | ||||
| 	threadsappend | ||||
| 
 | ||||
| if BUILD_LINUX | ||||
| SUBDIRS += \
 | ||||
| 	getversion \
 | ||||
| 	randfree_file \
 | ||||
| 	linux_dos_attributes \
 | ||||
| 	user_ns_exec \
 | ||||
| 	xattrtest | ||||
| pkgexec_PROGRAMS += getversion | ||||
| getversion_SOURCES = getversion.c | ||||
| 
 | ||||
| EXTRA_DIST += linux_dos_attributes/dos_attributes.h | ||||
| pkgexec_PROGRAMS += read_dos_attributes write_dos_attributes | ||||
| read_dos_attributes_SOURCES = linux_dos_attributes/read_dos_attributes.c | ||||
| write_dos_attributes_SOURCES = linux_dos_attributes/write_dos_attributes.c | ||||
| 
 | ||||
| pkgexec_PROGRAMS += randfree_file | ||||
| randfree_file_SOURCES = file/randfree_file.c | ||||
| 
 | ||||
| pkgexec_PROGRAMS += user_ns_exec | ||||
| user_ns_exec_SOURCES = user_ns_exec.c | ||||
| 
 | ||||
| pkgexec_PROGRAMS += xattrtest | ||||
| xattrtest_SOURCES = xattrtest.c | ||||
| endif | ||||
|  | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/badsend/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/badsend/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /badsend | ||||
| @ -1,11 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = badsend | ||||
| 
 | ||||
| badsend_SOURCES = badsend.c | ||||
| badsend_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs/libzfs.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/btree_test/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/btree_test/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /btree_test | ||||
| @ -1,32 +0,0 @@ | ||||
| #
 | ||||
| # This file and its contents are supplied under the terms of the
 | ||||
| # Common Development and Distribution License ("CDDL"), version 1.0.
 | ||||
| # You may only use this file in accordance with the terms of version
 | ||||
| # 1.0 of the CDDL.
 | ||||
| #
 | ||||
| # A full copy of the text of the CDDL should have accompanied this
 | ||||
| # source.  A copy of the CDDL is also available via the Internet at
 | ||||
| # http://www.illumos.org/license/CDDL.
 | ||||
| #
 | ||||
| 
 | ||||
| #
 | ||||
| # Copyright (c) 2019 by Delphix. All rights reserved.
 | ||||
| #
 | ||||
| 
 | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| DEFAULT_INCLUDES += \
 | ||||
| 	-I$(top_srcdir)/include \
 | ||||
| 	-I$(top_srcdir)/lib/libspl/include | ||||
| 
 | ||||
| # Unconditionally enable ASSERTs
 | ||||
| AM_CPPFLAGS += -DDEBUG -UNDEBUG -DZFS_DEBUG | ||||
| 
 | ||||
| pkgexec_PROGRAMS = btree_test | ||||
| btree_test_SOURCES = btree_test.c | ||||
| 
 | ||||
| btree_test_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzpool/libzpool.la \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/chg_usr_exec/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/chg_usr_exec/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /chg_usr_exec | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = chg_usr_exec | ||||
| chg_usr_exec_SOURCES = chg_usr_exec.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/devname2devid/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/devname2devid/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /devname2devid | ||||
| @ -1,10 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| if WANT_DEVNAME2DEVID | ||||
| pkgexec_PROGRAMS = devname2devid | ||||
| devname2devid_SOURCES = devname2devid.c | ||||
| devname2devid_CFLAGS = $(AM_CFLAGS) $(LIBUDEV_CFLAGS) | ||||
| devname2devid_LDADD = $(LIBUDEV_LIBS) | ||||
| endif | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/dir_rd_update/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/dir_rd_update/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /dir_rd_update | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = dir_rd_update | ||||
| dir_rd_update_SOURCES = dir_rd_update.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/draid/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/draid/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /draid | ||||
| @ -1,15 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| AM_CFLAGS += $(ZLIB_CFLAGS) | ||||
| 
 | ||||
| pkgexec_PROGRAMS = draid | ||||
| 
 | ||||
| draid_SOURCES = draid.c | ||||
| 
 | ||||
| draid_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzpool/libzpool.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| 
 | ||||
| draid_LDADD += $(ZLIB_LIBS) | ||||
| @ -24,7 +24,7 @@ | ||||
|  * Use is subject to license terms. | ||||
|  */ | ||||
| 
 | ||||
| #include "../file_common.h" | ||||
| #include "file_common.h" | ||||
| 
 | ||||
| static unsigned char bigbuffer[BIGBUFFERSIZE]; | ||||
| 
 | ||||
| @ -24,7 +24,7 @@ | ||||
|  * Use is subject to license terms. | ||||
|  */ | ||||
| 
 | ||||
| #include "../file_common.h" | ||||
| #include "file_common.h" | ||||
| #include <libgen.h> | ||||
| #include <string.h> | ||||
| #include <inttypes.h> | ||||
| @ -28,7 +28,7 @@ | ||||
|  * Copyright (c) 2012 by Delphix. All rights reserved. | ||||
|  */ | ||||
| 
 | ||||
| #include "../file_common.h" | ||||
| #include "file_common.h" | ||||
| #include <sys/param.h> | ||||
| #include <signal.h> | ||||
| #include <stdio.h> | ||||
| @ -28,7 +28,7 @@ | ||||
|  * Copyright (c) 2012 by Delphix. All rights reserved. | ||||
|  */ | ||||
| 
 | ||||
| #include "../file_common.h" | ||||
| #include "file_common.h" | ||||
| #include <sys/types.h> | ||||
| #include <unistd.h> | ||||
| #include <fcntl.h> | ||||
| @ -15,7 +15,7 @@ | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include <string.h> | ||||
| #include "../file_common.h" | ||||
| #include "file_common.h" | ||||
| 
 | ||||
| /*
 | ||||
|  * The following sample was derived from real-world data | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/file_check/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/file_check/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /file_check | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = file_check | ||||
| file_check_SOURCES = file_check.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/file_trunc/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/file_trunc/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /file_trunc | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = file_trunc | ||||
| file_trunc_SOURCES = file_trunc.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/file_write/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/file_write/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /file_write | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = file_write | ||||
| file_write_SOURCES = file_write.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/get_diff/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/get_diff/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /get_diff | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = get_diff | ||||
| get_diff_SOURCES = get_diff.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/getversion/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/getversion/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /getversion | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = getversion | ||||
| getversion_SOURCES = getversion.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/largest_file/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/largest_file/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /largest_file | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = largest_file | ||||
| largest_file_SOURCES = largest_file.c | ||||
| @ -1 +0,0 @@ | ||||
| /libzfs_input_check | ||||
| @ -1,17 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = libzfs_input_check | ||||
| 
 | ||||
| if BUILD_FREEBSD | ||||
| DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/freebsd/zfs | ||||
| endif | ||||
| if BUILD_LINUX | ||||
| DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/linux/zfs | ||||
| endif | ||||
| 
 | ||||
| libzfs_input_check_SOURCES = libzfs_input_check.c | ||||
| libzfs_input_check_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
| @ -1,2 +0,0 @@ | ||||
| /read_dos_attributes | ||||
| /write_dos_attributes | ||||
| @ -1,8 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| EXTRA_DIST = dos_attributes.h | ||||
| pkgexec_PROGRAMS = read_dos_attributes write_dos_attributes | ||||
| read_dos_attributes_SOURCES = read_dos_attributes.c | ||||
| write_dos_attributes_SOURCES = write_dos_attributes.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mkbusy/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mkbusy/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mkbusy | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mkbusy | ||||
| mkbusy_SOURCES = mkbusy.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mkfile/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mkfile/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mkfile | ||||
| @ -1,8 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mkfile | ||||
| mkfile_SOURCES = mkfile.c | ||||
| 
 | ||||
| mkfile_LDADD = $(LTLIBINTL) | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mkfiles/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mkfiles/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mkfiles | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mkfiles | ||||
| mkfiles_SOURCES = mkfiles.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mktree/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mktree/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mktree | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mktree | ||||
| mktree_SOURCES = mktree.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mmap_exec/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mmap_exec/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mmap_exec | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mmap_exec | ||||
| mmap_exec_SOURCES = mmap_exec.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mmap_libaio/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mmap_libaio/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mmap_libaio | ||||
| @ -1,10 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| if WANT_MMAP_LIBAIO | ||||
| pkgexec_PROGRAMS = mmap_libaio | ||||
| mmap_libaio_SOURCES = mmap_libaio.c | ||||
| mmap_libaio_CFLAGS = $(AM_CFLAGS) $(LIBAIO_CFLAGS) | ||||
| mmap_libaio_LDADD = $(LIBAIO_LIBS) | ||||
| endif | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mmap_seek/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mmap_seek/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mmap_seek | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mmap_seek | ||||
| mmap_seek_SOURCES = mmap_seek.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/mmapwrite/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/mmapwrite/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /mmapwrite | ||||
| @ -1,7 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = mmapwrite | ||||
| mmapwrite_SOURCES = mmapwrite.c | ||||
| mmapwrite_LDADD = -lpthread | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/nvlist_to_lua/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/nvlist_to_lua/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /nvlist_to_lua | ||||
| @ -1,10 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = nvlist_to_lua | ||||
| 
 | ||||
| nvlist_to_lua_SOURCES = nvlist_to_lua.c | ||||
| nvlist_to_lua_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/randfree_file/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/randfree_file/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /randfree_file | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = randfree_file | ||||
| randfree_file_SOURCES = randfree_file.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/randwritecomp/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/randwritecomp/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /randwritecomp | ||||
| @ -1,9 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| DEFAULT_INCLUDES += \
 | ||||
| 	-I$(top_srcdir)/include | ||||
| 
 | ||||
| pkgexec_PROGRAMS = randwritecomp | ||||
| randwritecomp_SOURCES = randwritecomp.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/readmmap/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/readmmap/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /readmmap | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = readmmap | ||||
| readmmap_SOURCES = readmmap.c | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/rename_dir/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/rename_dir/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /rename_dir | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = rename_dir | ||||
| rename_dir_SOURCES = rename_dir.c | ||||
| @ -1 +0,0 @@ | ||||
| /rm_lnkcnt_zero_file | ||||
| @ -1,7 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = rm_lnkcnt_zero_file | ||||
| rm_lnkcnt_zero_file_SOURCES = rm_lnkcnt_zero_file.c | ||||
| rm_lnkcnt_zero_file_LDADD = -lpthread | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/send_doall/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/send_doall/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /send_doall | ||||
| @ -1,11 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = send_doall | ||||
| 
 | ||||
| send_doall_SOURCES = send_doall.c | ||||
| send_doall_LDADD = \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
 | ||||
| 	$(abs_top_builddir)/lib/libzfs/libzfs.la \
 | ||||
| 	$(abs_top_builddir)/lib/libnvpair/libnvpair.la | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/stride_dd/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/stride_dd/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /stride_dd | ||||
| @ -1,7 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = stride_dd | ||||
| stride_dd_SOURCES = stride_dd.c | ||||
| stride_dd_LDADD = -lrt | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/threadsappend/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/threadsappend/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /threadsappend | ||||
| @ -1,7 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = threadsappend | ||||
| threadsappend_SOURCES = threadsappend.c | ||||
| threadsappend_LDADD = -lpthread | ||||
							
								
								
									
										1
									
								
								tests/zfs-tests/cmd/user_ns_exec/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/zfs-tests/cmd/user_ns_exec/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | ||||
| /user_ns_exec | ||||
| @ -1,6 +0,0 @@ | ||||
| include $(top_srcdir)/config/Rules.am | ||||
| 
 | ||||
| pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin | ||||
| 
 | ||||
| pkgexec_PROGRAMS = user_ns_exec | ||||
| user_ns_exec_SOURCES = user_ns_exec.c | ||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue
	
	Block a user
	 наб
						наб