aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Hutter <[email protected]>2018-04-06 16:34:21 -0700
committerBrian Behlendorf <[email protected]>2018-04-06 16:34:21 -0700
commit6c9af9e8f4a2901c9a5f205876b67dcc3216cbd8 (patch)
tree3661a51d97353707054e508a0171a26ec75d827b
parent812323bb03ce4c31f61bfb83d70eb1f5c494df25 (diff)
Fix "file is executable, but no shebang" warnings
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes #7359 Closes #7395
-rw-r--r--contrib/initramfs/scripts/Makefile.am4
-rw-r--r--tests/runfiles/Makefile.am2
-rw-r--r--tests/test-runner/include/Makefile.am4
-rw-r--r--tests/zfs-tests/include/Makefile.am2
-rw-r--r--tests/zfs-tests/tests/functional/acl/Makefile.am2
-rw-r--r--tests/zfs-tests/tests/functional/atime/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cache/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cachefile/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/casenorm/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am34
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am22
-rw-r--r--tests/zfs-tests/tests/functional/checksum/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/clean_mirror/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/Makefile.am2
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am8
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile.am5
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile.am7
-rw-r--r--tests/zfs-tests/tests/functional/cli_user/misc/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/compression/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/deadman/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/delegate/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/devices/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/events/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/grow_pool/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/grow_replicas/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/history/Makefile.am8
-rw-r--r--tests/zfs-tests/tests/functional/inheritance/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/inuse/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/largest_pool/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/migration/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/mmap/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/mmp/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/mv_files/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/no_space/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/nopwrite/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/online_offline/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/projectquota/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/quota/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/redundancy/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/refreserv/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/replacement/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/reservation/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/rsend/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/scrub_mirror/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/slog/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/snapshot/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/snapused/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/sparse/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/truncate/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/upgrade/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/user_namespace/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/userquota/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/vdev_zaps/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/functional/xattr/Makefile.am8
-rw-r--r--tests/zfs-tests/tests/functional/zvol/Makefile.am2
-rw-r--r--tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile.am4
-rw-r--r--tests/zfs-tests/tests/perf/Makefile.am2
-rw-r--r--tests/zfs-tests/tests/perf/fio/Makefile.am2
83 files changed, 296 insertions, 148 deletions
diff --git a/contrib/initramfs/scripts/Makefile.am b/contrib/initramfs/scripts/Makefile.am
index 7b65429fd..a550311cd 100644
--- a/contrib/initramfs/scripts/Makefile.am
+++ b/contrib/initramfs/scripts/Makefile.am
@@ -1,6 +1,6 @@
scriptsdir = $(datarootdir)/initramfs-tools/scripts
-scripts_SCRIPTS = \
+scripts_DATA = \
zfs
SUBDIRS = local-top
@@ -8,7 +8,7 @@ SUBDIRS = local-top
EXTRA_DIST = \
$(top_srcdir)/contrib/initramfs/scripts/zfs.in
-$(scripts_SCRIPTS):%:%.in
+$(scripts_DATA):%:%.in
-$(SED) -e 's,@sbindir\@,$(sbindir),g' \
-e 's,@sysconfdir\@,$(sysconfdir),g' \
$< >'$@'
diff --git a/tests/runfiles/Makefile.am b/tests/runfiles/Makefile.am
index cddfb2ed6..138d905a5 100644
--- a/tests/runfiles/Makefile.am
+++ b/tests/runfiles/Makefile.am
@@ -1,2 +1,2 @@
pkgdatadir = $(datadir)/@PACKAGE@/runfiles
-dist_pkgdata_SCRIPTS = *.run
+dist_pkgdata_DATA = *.run
diff --git a/tests/test-runner/include/Makefile.am b/tests/test-runner/include/Makefile.am
index d071dd495..7e4080249 100644
--- a/tests/test-runner/include/Makefile.am
+++ b/tests/test-runner/include/Makefile.am
@@ -1,4 +1,6 @@
pkgdatadir = $(datadir)/@PACKAGE@/test-runner/include
dist_pkgdata_SCRIPTS = \
- logapi.shlib \
+ logapi.shlib
+
+dist_pkgdata_DATA = \
stf.shlib
diff --git a/tests/zfs-tests/include/Makefile.am b/tests/zfs-tests/include/Makefile.am
index e5daa7f5f..52e1c0a9f 100644
--- a/tests/zfs-tests/include/Makefile.am
+++ b/tests/zfs-tests/include/Makefile.am
@@ -1,5 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/include
-dist_pkgdata_SCRIPTS = \
+dist_pkgdata_DATA = \
blkdev.shlib \
commands.cfg \
default.cfg \
diff --git a/tests/zfs-tests/tests/functional/acl/Makefile.am b/tests/zfs-tests/tests/functional/acl/Makefile.am
index 6a0258385..6086930e3 100644
--- a/tests/zfs-tests/tests/functional/acl/Makefile.am
+++ b/tests/zfs-tests/tests/functional/acl/Makefile.am
@@ -1,5 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/acl
-dist_pkgdata_SCRIPTS = \
+dist_pkgdata_DATA = \
acl.cfg \
acl_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/atime/Makefile.am b/tests/zfs-tests/tests/functional/atime/Makefile.am
index e07292554..a4e2335a9 100644
--- a/tests/zfs-tests/tests/functional/atime/Makefile.am
+++ b/tests/zfs-tests/tests/functional/atime/Makefile.am
@@ -1,9 +1,11 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/atime
dist_pkgdata_SCRIPTS = \
- atime.cfg \
- atime_common.kshlib \
cleanup.ksh \
setup.ksh \
atime_001_pos.ksh \
atime_002_neg.ksh \
atime_003_pos.ksh
+
+dist_pkgdata_DATA = \
+ atime.cfg \
+ atime_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/cache/Makefile.am b/tests/zfs-tests/tests/functional/cache/Makefile.am
index f1aaf721c..18dd9c198 100644
--- a/tests/zfs-tests/tests/functional/cache/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cache/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cache
dist_pkgdata_SCRIPTS = \
- cache.cfg \
- cache.kshlib \
cleanup.ksh \
setup.ksh \
cache_001_pos.ksh \
@@ -15,3 +13,7 @@ dist_pkgdata_SCRIPTS = \
cache_009_pos.ksh \
cache_010_neg.ksh \
cache_011_pos.ksh
+
+dist_pkgdata_DATA = \
+ cache.cfg \
+ cache.kshlib
diff --git a/tests/zfs-tests/tests/functional/cachefile/Makefile.am b/tests/zfs-tests/tests/functional/cachefile/Makefile.am
index 89d6a9b86..53d8c8c6c 100644
--- a/tests/zfs-tests/tests/functional/cachefile/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cachefile/Makefile.am
@@ -2,9 +2,11 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cachefile
dist_pkgdata_SCRIPTS = \
cleanup.ksh \
setup.ksh \
- cachefile.cfg \
- cachefile.kshlib \
cachefile_001_pos.ksh \
cachefile_002_pos.ksh \
cachefile_003_pos.ksh \
cachefile_004_pos.ksh
+
+dist_pkgdata_DATA = \
+ cachefile.cfg \
+ cachefile.kshlib
diff --git a/tests/zfs-tests/tests/functional/casenorm/Makefile.am b/tests/zfs-tests/tests/functional/casenorm/Makefile.am
index 00cb59074..b284a2560 100644
--- a/tests/zfs-tests/tests/functional/casenorm/Makefile.am
+++ b/tests/zfs-tests/tests/functional/casenorm/Makefile.am
@@ -3,8 +3,6 @@ dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
case_all_values.ksh \
- casenorm.cfg \
- casenorm.kshlib \
insensitive_formd_delete.ksh \
insensitive_formd_lookup.ksh \
insensitive_none_delete.ksh \
@@ -21,3 +19,7 @@ dist_pkgdata_SCRIPTS = \
sensitive_formd_lookup.ksh \
sensitive_none_delete.ksh \
sensitive_none_lookup.ksh
+
+dist_pkgdata_DATA = \
+ casenorm.cfg \
+ casenorm.kshlib
diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am b/tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am
index 6de88d723..e06b145dc 100644
--- a/tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am
+++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am
@@ -3,39 +3,41 @@ dist_pkgdata_SCRIPTS = \
cleanup.ksh \
setup.ksh \
tst.args_to_lua.ksh \
- tst.args_to_lua.out \
- tst.args_to_lua.zcp \
- tst.divide_by_zero.err \
tst.divide_by_zero.ksh \
- tst.divide_by_zero.zcp \
tst.exists.ksh \
- tst.exists.zcp \
tst.integer_illegal.ksh \
tst.integer_overflow.ksh \
tst.language_functions_neg.ksh \
tst.language_functions_pos.ksh \
tst.large_prog.ksh \
- tst.large_prog.out \
- tst.large_prog.zcp \
- tst.lib_base.lua \
- tst.lib_coroutine.lua \
- tst.lib_strings.lua \
- tst.lib_table.lua \
tst.libraries.ksh \
tst.memory_limit.ksh \
tst.nested_neg.ksh \
- tst.nested_neg.zcp \
tst.nested_pos.ksh \
- tst.nested_pos.zcp \
tst.nvlist_to_lua.ksh \
tst.recursive_neg.ksh \
tst.recursive_pos.ksh \
- tst.recursive.zcp \
tst.return_large.ksh \
- tst.return_large.zcp \
tst.return_nvlist_neg.ksh \
tst.return_nvlist_pos.ksh \
tst.return_recursive_table.ksh \
+ tst.timeout.ksh
+
+dist_pkgdata_DATA = \
+ tst.args_to_lua.out \
+ tst.args_to_lua.zcp \
+ tst.divide_by_zero.err \
+ tst.divide_by_zero.zcp \
+ tst.exists.zcp \
+ tst.large_prog.out \
+ tst.large_prog.zcp \
+ tst.lib_base.lua \
+ tst.lib_coroutine.lua \
+ tst.lib_strings.lua \
+ tst.lib_table.lua \
+ tst.nested_neg.zcp \
+ tst.nested_pos.zcp \
+ tst.recursive.zcp \
+ tst.return_large.zcp \
tst.return_recursive_table.zcp \
- tst.timeout.ksh \
tst.timeout.zcp
diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am b/tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am
index 93ec25a03..7bdaf53de 100644
--- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am
+++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am
@@ -6,16 +6,10 @@ dist_pkgdata_SCRIPTS = \
tst.destroy_snap.ksh \
tst.get_count_and_limit.ksh \
tst.get_index_props.ksh \
- tst.get_index_props.out \
- tst.get_index_props.zcp \
tst.get_mountpoint.ksh \
tst.get_neg.ksh \
tst.get_number_props.ksh \
- tst.get_number_props.out \
- tst.get_number_props.zcp \
tst.get_string_props.ksh \
- tst.get_string_props.out \
- tst.get_string_props.zcp \
tst.get_type.ksh \
tst.get_userquota.ksh \
tst.get_written.ksh \
@@ -26,16 +20,24 @@ dist_pkgdata_SCRIPTS = \
tst.list_user_props.ksh \
tst.parse_args_neg.ksh \
tst.promote_conflict.ksh \
- tst.promote_conflict.zcp \
tst.promote_multiple.ksh \
tst.promote_simple.ksh \
tst.rollback_mult.ksh \
tst.rollback_one.ksh \
tst.snapshot_destroy.ksh \
- tst.snapshot_destroy.zcp \
tst.snapshot_neg.ksh \
- tst.snapshot_neg.zcp \
tst.snapshot_recursive.ksh \
+ tst.snapshot_simple.ksh
+
+dist_pkgdata_DATA = \
+ tst.get_index_props.out \
+ tst.get_index_props.zcp \
+ tst.get_number_props.out \
+ tst.get_number_props.zcp \
+ tst.get_string_props.out \
+ tst.get_string_props.zcp \
+ tst.promote_conflict.zcp \
+ tst.snapshot_destroy.zcp \
+ tst.snapshot_neg.zcp \
tst.snapshot_recursive.zcp \
- tst.snapshot_simple.ksh \
tst.snapshot_simple.zcp
diff --git a/tests/zfs-tests/tests/functional/checksum/Makefile.am b/tests/zfs-tests/tests/functional/checksum/Makefile.am
index cacb3c927..f72546b22 100644
--- a/tests/zfs-tests/tests/functional/checksum/Makefile.am
+++ b/tests/zfs-tests/tests/functional/checksum/Makefile.am
@@ -8,7 +8,6 @@ AUTOMAKE_OPTIONS = subdir-objects
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/checksum
dist_pkgdata_SCRIPTS = \
- default.cfg \
setup.ksh \
cleanup.ksh \
run_edonr_test.ksh \
@@ -16,6 +15,9 @@ dist_pkgdata_SCRIPTS = \
run_skein_test.ksh \
filetest_001_pos.ksh
+dist_pkgdata_DATA = \
+ default.cfg
+
pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/checksum
pkgexec_PROGRAMS = \
diff --git a/tests/zfs-tests/tests/functional/clean_mirror/Makefile.am b/tests/zfs-tests/tests/functional/clean_mirror/Makefile.am
index 2e37147bf..2bc67709f 100644
--- a/tests/zfs-tests/tests/functional/clean_mirror/Makefile.am
+++ b/tests/zfs-tests/tests/functional/clean_mirror/Makefile.am
@@ -1,10 +1,12 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/clean_mirror
dist_pkgdata_SCRIPTS = \
- clean_mirror_common.kshlib \
- default.cfg \
cleanup.ksh \
setup.ksh \
clean_mirror_001_pos.ksh \
clean_mirror_002_pos.ksh \
clean_mirror_003_pos.ksh \
clean_mirror_004_pos.ksh
+
+dist_pkgdata_DATA = \
+ clean_mirror_common.kshlib \
+ default.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/Makefile.am
index a7c56b665..7ded5f41f 100644
--- a/tests/zfs-tests/tests/functional/cli_root/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/Makefile.am
@@ -1,5 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root
-dist_pkgdata_SCRIPTS = \
+dist_pkgdata_DATA = \
cli_common.kshlib
SUBDIRS = \
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile.am
index 732126de7..4ac103a8e 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_copies
dist_pkgdata_SCRIPTS = \
- zfs_copies.cfg \
- zfs_copies.kshlib \
setup.ksh \
cleanup.ksh \
zfs_copies_001_pos.ksh \
@@ -10,3 +8,7 @@ dist_pkgdata_SCRIPTS = \
zfs_copies_004_neg.ksh \
zfs_copies_005_neg.ksh \
zfs_copies_006_pos.ksh
+
+dist_pkgdata_DATA = \
+ zfs_copies.cfg \
+ zfs_copies.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am
index dd6dde317..a36d02161 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am
@@ -1,8 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_create
dist_pkgdata_SCRIPTS = \
- properties.kshlib \
- zfs_create_common.kshlib \
- zfs_create.cfg \
setup.ksh \
cleanup.ksh \
zfs_create_001_pos.ksh \
@@ -21,3 +18,8 @@ dist_pkgdata_SCRIPTS = \
zfs_create_014_pos.ksh \
zfs_create_encrypted.ksh \
zfs_create_crypt_combos.ksh
+
+dist_pkgdata_DATA = \
+ properties.kshlib \
+ zfs_create_common.kshlib \
+ zfs_create.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile.am
index 5a4bd70ce..183578df5 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_destroy
dist_pkgdata_SCRIPTS = \
- zfs_destroy_common.kshlib \
- zfs_destroy.cfg \
setup.ksh \
cleanup.ksh \
zfs_destroy_001_pos.ksh \
@@ -20,3 +18,7 @@ dist_pkgdata_SCRIPTS = \
zfs_destroy_014_pos.ksh \
zfs_destroy_015_pos.ksh \
zfs_destroy_016_pos.ksh
+
+dist_pkgdata_DATA = \
+ zfs_destroy_common.kshlib \
+ zfs_destroy.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile.am
index 880a845af..22e959076 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_get
dist_pkgdata_SCRIPTS = \
- zfs_get_common.kshlib \
- zfs_get_list_d.kshlib \
setup.ksh \
cleanup.ksh \
zfs_get_001_pos.ksh \
@@ -14,3 +12,7 @@ dist_pkgdata_SCRIPTS = \
zfs_get_008_pos.ksh \
zfs_get_009_pos.ksh \
zfs_get_010_neg.ksh
+
+dist_pkgdata_DATA = \
+ zfs_get_common.kshlib \
+ zfs_get_list_d.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am
index 1de907168..aaecb9730 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_load-key
dist_pkgdata_SCRIPTS = \
- zfs_load-key.cfg \
setup.ksh \
cleanup.ksh \
zfs_load-key_common.kshlib \
@@ -10,3 +9,6 @@ dist_pkgdata_SCRIPTS = \
zfs_load-key_location.ksh \
zfs_load-key_noop.ksh \
zfs_load-key_recursive.ksh
+
+dist_pkgdata_DATA = \
+ zfs_load-key.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am
index 85090a534..b0d4e9469 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_mount
dist_pkgdata_SCRIPTS = \
- zfs_mount.cfg \
- zfs_mount.kshlib \
setup.ksh \
cleanup.ksh \
zfs_mount_001_pos.ksh \
@@ -19,3 +17,7 @@ dist_pkgdata_SCRIPTS = \
zfs_mount_encrypted.ksh \
zfs_mount_all_001_pos.ksh \
zfs_mount_remount.ksh
+
+dist_pkgdata_DATA = \
+ zfs_mount.cfg \
+ zfs_mount.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile.am
index d51f222fe..8a8c56a09 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_promote
dist_pkgdata_SCRIPTS = \
- zfs_promote.cfg \
setup.ksh \
cleanup.ksh \
zfs_promote_001_pos.ksh \
@@ -12,3 +11,6 @@ dist_pkgdata_SCRIPTS = \
zfs_promote_007_neg.ksh \
zfs_promote_008_pos.ksh \
zfs_promote_encryptionroot.ksh
+
+dist_pkgdata_DATA = \
+ zfs_promote.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am
index dfef661b7..352d6d5fe 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_rename
dist_pkgdata_SCRIPTS = \
- zfs_rename.cfg \
- zfs_rename.kshlib \
setup.ksh \
cleanup.ksh \
zfs_rename_001_pos.ksh \
@@ -19,3 +17,7 @@ dist_pkgdata_SCRIPTS = \
zfs_rename_013_pos.ksh \
zfs_rename_encrypted_child.ksh \
zfs_rename_to_encrypted.ksh
+
+dist_pkgdata_DATA = \
+ zfs_rename.cfg \
+ zfs_rename.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile.am
index 857959b2a..4d278f724 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile.am
@@ -1,10 +1,12 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_rollback
dist_pkgdata_SCRIPTS = \
- zfs_rollback.cfg \
- zfs_rollback_common.kshlib \
setup.ksh \
cleanup.ksh \
zfs_rollback_001_pos.ksh \
zfs_rollback_002_pos.ksh \
zfs_rollback_003_neg.ksh \
zfs_rollback_004_neg.ksh
+
+dist_pkgdata_DATA = \
+ zfs_rollback.cfg \
+ zfs_rollback_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am
index 682569da4..2a476f3dc 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_send
dist_pkgdata_SCRIPTS = \
- zfs_send.cfg \
setup.ksh \
cleanup.ksh \
zfs_send_001_pos.ksh \
@@ -14,3 +13,6 @@ dist_pkgdata_SCRIPTS = \
zfs_send_raw.ksh \
zfs_send_sparse.ksh \
zfs_send-b.ksh
+
+dist_pkgdata_DATA = \
+ zfs_send.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile.am
index 2a9e858e0..015464bf4 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_set
dist_pkgdata_SCRIPTS = \
- zfs_set_common.kshlib \
setup.ksh \
cleanup.ksh \
cache_001_pos.ksh \
@@ -30,3 +29,6 @@ dist_pkgdata_SCRIPTS = \
zfs_set_002_neg.ksh \
zfs_set_003_neg.ksh \
zfs_set_keylocation.ksh
+
+dist_pkgdata_DATA = \
+ zfs_set_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile.am
index 926531b4e..e20014656 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_share
dist_pkgdata_SCRIPTS = \
- zfs_share.cfg \
setup.ksh \
cleanup.ksh \
zfs_share_001_pos.ksh \
@@ -14,3 +13,6 @@ dist_pkgdata_SCRIPTS = \
zfs_share_009_neg.ksh \
zfs_share_010_neg.ksh \
zfs_share_011_pos.ksh
+
+dist_pkgdata_DATA = \
+ zfs_share.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile.am
index fd1db0797..bc5b80125 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_snapshot
dist_pkgdata_SCRIPTS = \
- zfs_snapshot.cfg \
setup.ksh \
cleanup.ksh \
zfs_snapshot_001_neg.ksh \
@@ -12,3 +11,6 @@ dist_pkgdata_SCRIPTS = \
zfs_snapshot_007_neg.ksh \
zfs_snapshot_008_neg.ksh \
zfs_snapshot_009_pos.ksh
+
+dist_pkgdata_DATA = \
+ zfs_snapshot.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile.am
index 57a780872..9ea809f26 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_unmount
dist_pkgdata_SCRIPTS = \
- zfs_unmount.cfg \
- zfs_unmount.kshlib \
setup.ksh \
cleanup.ksh \
zfs_unmount_001_pos.ksh \
@@ -14,3 +12,7 @@ dist_pkgdata_SCRIPTS = \
zfs_unmount_008_neg.ksh \
zfs_unmount_009_pos.ksh \
zfs_unmount_all_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ zfs_unmount.cfg \
+ zfs_unmount.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile.am
index cd7a45289..7a71bae4b 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_upgrade
dist_pkgdata_SCRIPTS = \
- zfs_upgrade.kshlib \
setup.ksh \
cleanup.ksh \
zfs_upgrade_001_pos.ksh \
@@ -10,3 +9,6 @@ dist_pkgdata_SCRIPTS = \
zfs_upgrade_005_pos.ksh \
zfs_upgrade_006_neg.ksh \
zfs_upgrade_007_neg.ksh
+
+dist_pkgdata_DATA = \
+ zfs_upgrade.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile.am
index 062028299..a7f62b6f9 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_add
dist_pkgdata_SCRIPTS = \
- zpool_add.cfg \
- zpool_add.kshlib \
setup.ksh \
cleanup.ksh \
zpool_add_001_pos.ksh \
@@ -17,3 +15,7 @@ dist_pkgdata_SCRIPTS = \
add-o_ashift.ksh \
add_prop_ashift.ksh \
add_nested_replacing_spare.ksh
+
+dist_pkgdata_DATA = \
+ zpool_add.cfg \
+ zpool_add.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile.am
index cfd4534c9..6986d38ef 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile.am
@@ -1,9 +1,11 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_clear
dist_pkgdata_SCRIPTS = \
- zpool_clear.cfg \
setup.ksh \
cleanup.ksh \
zpool_clear_001_pos.ksh \
zpool_clear_002_neg.ksh \
zpool_clear_003_neg.ksh \
zpool_clear_readonly.ksh
+
+dist_pkgdata_DATA = \
+ zpool_clear.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile.am
index e2b84bca5..89b36fa99 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_create
dist_pkgdata_SCRIPTS = \
- zpool_create.cfg \
- zpool_create.shlib \
setup.ksh \
cleanup.ksh \
zpool_create_001_pos.ksh \
@@ -35,3 +33,7 @@ dist_pkgdata_SCRIPTS = \
zpool_create_features_004_neg.ksh \
zpool_create_features_005_pos.ksh \
create-o_ashift.ksh
+
+dist_pkgdata_DATA = \
+ zpool_create.cfg \
+ zpool_create.shlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile.am
index 5130bcc3f..7f9e00d58 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile.am
@@ -1,6 +1,8 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_destroy
dist_pkgdata_SCRIPTS = \
- zpool_destroy.cfg \
zpool_destroy_001_pos.ksh \
zpool_destroy_002_pos.ksh \
zpool_destroy_003_neg.ksh
+
+dist_pkgdata_DATA = \
+ zpool_destroy.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile.am
index 672261718..2fae015b5 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile.am
@@ -1,9 +1,11 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_expand
dist_pkgdata_SCRIPTS = \
- zpool_expand.cfg \
setup.ksh \
cleanup.ksh \
zpool_expand_001_pos.ksh \
zpool_expand_002_pos.ksh \
zpool_expand_003_neg.ksh \
zpool_expand_004_pos.ksh
+
+dist_pkgdata_DATA = \
+ zpool_expand.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile.am
index d0af877f3..86452e8ac 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile.am
@@ -2,8 +2,10 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_expo
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- zpool_export.cfg \
zpool_export_001_pos.ksh \
zpool_export_002_pos.ksh \
zpool_export_003_neg.ksh \
zpool_export_004_pos.ksh
+
+dist_pkgdata_DATA = \
+ zpool_export.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile.am
index bc42ee403..36a7f2312 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile.am
@@ -1,9 +1,11 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_get
dist_pkgdata_SCRIPTS = \
- zpool_get.cfg \
setup.ksh \
cleanup.ksh \
zpool_get_001_pos.ksh \
zpool_get_002_pos.ksh \
zpool_get_003_pos.ksh \
zpool_get_004_neg.ksh
+
+dist_pkgdata_DATA = \
+ zpool_get.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile.am
index 6200af247..8aa34f33c 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_import
dist_pkgdata_SCRIPTS = \
- zpool_import.cfg \
setup.ksh \
cleanup.ksh \
zpool_import_001_pos.ksh \
@@ -34,5 +33,7 @@ BLOCKFILES = \
unclean_export.dat.bz2 \
cryptv0.dat.bz2
-dist_pkgdata_DATA = $(BLOCKFILES)
+dist_pkgdata_DATA = $(BLOCKFILES) \
+ zpool_import.cfg
+
EXTRA_DIST = $(BLOCKFILES)
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile.am
index 9890265c3..e30e3f60c 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile.am
@@ -1,8 +1,10 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_remove
dist_pkgdata_SCRIPTS = \
- zpool_remove.cfg \
setup.ksh \
cleanup.ksh \
zpool_remove_001_neg.ksh \
zpool_remove_002_pos.ksh \
zpool_remove_003_pos.ksh
+
+dist_pkgdata_DATA = \
+ zpool_remove.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile.am
index 26de288a8..f4686c04e 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile.am
@@ -2,11 +2,13 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_reop
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- zpool_reopen.cfg \
- zpool_reopen.shlib \
zpool_reopen_001_pos.ksh \
zpool_reopen_002_pos.ksh \
zpool_reopen_003_pos.ksh \
zpool_reopen_004_pos.ksh \
zpool_reopen_005_pos.ksh \
zpool_reopen_006_neg.ksh
+
+dist_pkgdata_DATA = \
+ zpool_reopen.cfg \
+ zpool_reopen.shlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am
index 5b0d3978e..3f4dd1207 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_scrub
dist_pkgdata_SCRIPTS = \
- zpool_scrub.cfg \
setup.ksh \
cleanup.ksh \
zpool_scrub_001_neg.ksh \
@@ -10,3 +9,6 @@ dist_pkgdata_SCRIPTS = \
zpool_scrub_005_pos.ksh \
zpool_scrub_encrypted_unloaded.ksh \
zpool_scrub_offline_device.ksh
+
+dist_pkgdata_DATA = \
+ zpool_scrub.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile.am
index 71cdb29a1..1b08f4879 100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_upgrade
dist_pkgdata_SCRIPTS = \
- zpool_upgrade.cfg \
- zpool_upgrade.kshlib \
setup.ksh \
cleanup.ksh \
zpool_upgrade_001_pos.ksh \
@@ -68,5 +66,8 @@ BLOCKFILES = \
zfs-pool-v999.dat.bz2 \
zfs-pool-vBROKEN.dat.bz2
-dist_pkgdata_DATA = $(BLOCKFILES)
+dist_pkgdata_DATA = $(BLOCKFILES) \
+ zpool_upgrade.cfg \
+ zpool_upgrade.kshlib
+
EXTRA_DIST = $(BLOCKFILES)
diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/Makefile.am b/tests/zfs-tests/tests/functional/cli_user/misc/Makefile.am
index e1b52a1a3..ff7b4906f 100644
--- a/tests/zfs-tests/tests/functional/cli_user/misc/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_user/misc/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_user/misc
dist_pkgdata_SCRIPTS = \
- misc.cfg \
setup.ksh \
cleanup.ksh \
zdb_001_neg.ksh \
@@ -49,3 +48,6 @@ dist_pkgdata_SCRIPTS = \
arc_summary_002_neg.ksh \
arc_summary3_001_pos.ksh \
dbufstat_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ misc.cfg
diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile.am b/tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile.am
index 34390af64..8393072af 100644
--- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile.am
+++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_user/zfs_list
dist_pkgdata_SCRIPTS = \
- zfs_list.cfg \
- zfs_list.kshlib \
setup.ksh \
cleanup.ksh \
zfs_list_001_pos.ksh \
@@ -10,3 +8,7 @@ dist_pkgdata_SCRIPTS = \
zfs_list_004_neg.ksh \
zfs_list_007_pos.ksh \
zfs_list_008_neg.ksh
+
+dist_pkgdata_DATA = \
+ zfs_list.cfg \
+ zfs_list.kshlib
diff --git a/tests/zfs-tests/tests/functional/compression/Makefile.am b/tests/zfs-tests/tests/functional/compression/Makefile.am
index d11b0a7a1..25a5bca23 100644
--- a/tests/zfs-tests/tests/functional/compression/Makefile.am
+++ b/tests/zfs-tests/tests/functional/compression/Makefile.am
@@ -1,9 +1,11 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/compression
dist_pkgdata_SCRIPTS = \
- compress.cfg \
cleanup.ksh \
setup.ksh \
compress_001_pos.ksh \
compress_002_pos.ksh \
compress_003_pos.ksh \
compress_004_pos.ksh
+
+dist_pkgdata_DATA = \
+ compress.cfg
diff --git a/tests/zfs-tests/tests/functional/deadman/Makefile.am b/tests/zfs-tests/tests/functional/deadman/Makefile.am
index 9c4b0713c..7b70ca09d 100644
--- a/tests/zfs-tests/tests/functional/deadman/Makefile.am
+++ b/tests/zfs-tests/tests/functional/deadman/Makefile.am
@@ -1,5 +1,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/deadman
dist_pkgdata_SCRIPTS = \
- deadman.cfg \
deadman_sync.ksh \
deadman_zio.ksh
+
+dist_pkgdata_DATA = \
+ deadman.cfg
diff --git a/tests/zfs-tests/tests/functional/delegate/Makefile.am b/tests/zfs-tests/tests/functional/delegate/Makefile.am
index 6ccd65d53..c33da3374 100644
--- a/tests/zfs-tests/tests/functional/delegate/Makefile.am
+++ b/tests/zfs-tests/tests/functional/delegate/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/delegate
dist_pkgdata_SCRIPTS = \
- delegate.cfg \
- delegate_common.kshlib \
cleanup.ksh \
setup.ksh \
zfs_allow_001_pos.ksh \
@@ -24,3 +22,7 @@ dist_pkgdata_SCRIPTS = \
zfs_unallow_006_pos.ksh \
zfs_unallow_007_neg.ksh \
zfs_unallow_008_neg.ksh
+
+dist_pkgdata_DATA = \
+ delegate.cfg \
+ delegate_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/devices/Makefile.am b/tests/zfs-tests/tests/functional/devices/Makefile.am
index ebbfa9aba..42f59428d 100644
--- a/tests/zfs-tests/tests/functional/devices/Makefile.am
+++ b/tests/zfs-tests/tests/functional/devices/Makefile.am
@@ -1,9 +1,11 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/devices
dist_pkgdata_SCRIPTS = \
- devices.cfg \
- devices_common.kshlib \
cleanup.ksh \
setup.ksh \
devices_001_pos.ksh \
devices_002_neg.ksh \
devices_003_pos.ksh
+
+dist_pkgdata_DATA = \
+ devices.cfg \
+ devices_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/events/Makefile.am b/tests/zfs-tests/tests/functional/events/Makefile.am
index 415e44b6b..e1fe49081 100644
--- a/tests/zfs-tests/tests/functional/events/Makefile.am
+++ b/tests/zfs-tests/tests/functional/events/Makefile.am
@@ -2,8 +2,10 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/events
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- events.cfg \
- events_common.kshlib \
events_001_pos.ksh \
events_002_pos.ksh \
zed_rc_filter.ksh
+
+dist_pkgdata_DATA = \
+ events.cfg \
+ events_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/grow_pool/Makefile.am b/tests/zfs-tests/tests/functional/grow_pool/Makefile.am
index cdad61757..1e5ba31b9 100644
--- a/tests/zfs-tests/tests/functional/grow_pool/Makefile.am
+++ b/tests/zfs-tests/tests/functional/grow_pool/Makefile.am
@@ -2,5 +2,7 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/grow_pool
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- grow_pool.cfg \
grow_pool_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ grow_pool.cfg
diff --git a/tests/zfs-tests/tests/functional/grow_replicas/Makefile.am b/tests/zfs-tests/tests/functional/grow_replicas/Makefile.am
index 7fdcd952d..bd8ccd0eb 100644
--- a/tests/zfs-tests/tests/functional/grow_replicas/Makefile.am
+++ b/tests/zfs-tests/tests/functional/grow_replicas/Makefile.am
@@ -1,4 +1,6 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/grow_replicas
dist_pkgdata_SCRIPTS = \
- grow_replicas.cfg \
grow_replicas_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ grow_replicas.cfg
diff --git a/tests/zfs-tests/tests/functional/history/Makefile.am b/tests/zfs-tests/tests/functional/history/Makefile.am
index 861f41299..b865a319a 100644
--- a/tests/zfs-tests/tests/functional/history/Makefile.am
+++ b/tests/zfs-tests/tests/functional/history/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/history
dist_pkgdata_SCRIPTS = \
- history.cfg \
- history_common.kshlib \
cleanup.ksh \
setup.ksh \
history_001_pos.ksh \
@@ -13,7 +11,11 @@ dist_pkgdata_SCRIPTS = \
history_007_pos.ksh \
history_008_pos.ksh \
history_009_pos.ksh \
- history_010_pos.ksh \
+ history_010_pos.ksh
+
+dist_pkgdata_DATA = \
+ history.cfg \
+ history_common.kshlib \
i386.migratedpool.DAT.Z \
i386.orig_history.txt \
sparc.migratedpool.DAT.Z \
diff --git a/tests/zfs-tests/tests/functional/inheritance/Makefile.am b/tests/zfs-tests/tests/functional/inheritance/Makefile.am
index d07e2b110..82de708d6 100644
--- a/tests/zfs-tests/tests/functional/inheritance/Makefile.am
+++ b/tests/zfs-tests/tests/functional/inheritance/Makefile.am
@@ -1,8 +1,10 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/inheritance
dist_pkgdata_SCRIPTS = \
- inherit.kshlib \
cleanup.ksh \
- inherit_001_pos.ksh \
+ inherit_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ inherit.kshlib \
config001.cfg \
config002.cfg \
config003.cfg \
diff --git a/tests/zfs-tests/tests/functional/inuse/Makefile.am b/tests/zfs-tests/tests/functional/inuse/Makefile.am
index efc00eacd..c541e57ea 100644
--- a/tests/zfs-tests/tests/functional/inuse/Makefile.am
+++ b/tests/zfs-tests/tests/functional/inuse/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/inuse
dist_pkgdata_SCRIPTS = \
- inuse.cfg \
setup.ksh \
inuse_001_pos.ksh \
inuse_003_pos.ksh \
@@ -10,3 +9,6 @@ dist_pkgdata_SCRIPTS = \
inuse_007_pos.ksh \
inuse_008_pos.ksh \
inuse_009_pos.ksh
+
+dist_pkgdata_DATA = \
+ inuse.cfg
diff --git a/tests/zfs-tests/tests/functional/largest_pool/Makefile.am b/tests/zfs-tests/tests/functional/largest_pool/Makefile.am
index 474a15ab1..5f1473ded 100644
--- a/tests/zfs-tests/tests/functional/largest_pool/Makefile.am
+++ b/tests/zfs-tests/tests/functional/largest_pool/Makefile.am
@@ -1,4 +1,6 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/largest_pool
dist_pkgdata_SCRIPTS = \
- largest_pool.cfg \
largest_pool_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ largest_pool.cfg
diff --git a/tests/zfs-tests/tests/functional/migration/Makefile.am b/tests/zfs-tests/tests/functional/migration/Makefile.am
index 53fb30bc1..9c4f24415 100644
--- a/tests/zfs-tests/tests/functional/migration/Makefile.am
+++ b/tests/zfs-tests/tests/functional/migration/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/migration
dist_pkgdata_SCRIPTS = \
- migration.cfg \
- migration.kshlib \
setup.ksh \
cleanup.ksh \
migration_001_pos.ksh \
@@ -16,3 +14,7 @@ dist_pkgdata_SCRIPTS = \
migration_010_pos.ksh \
migration_011_pos.ksh \
migration_012_pos.ksh
+
+dist_pkgdata_DATA = \
+ migration.cfg \
+ migration.kshlib
diff --git a/tests/zfs-tests/tests/functional/mmap/Makefile.am b/tests/zfs-tests/tests/functional/mmap/Makefile.am
index 4e1db6041..2adc398b8 100644
--- a/tests/zfs-tests/tests/functional/mmap/Makefile.am
+++ b/tests/zfs-tests/tests/functional/mmap/Makefile.am
@@ -2,7 +2,9 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/mmap
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- mmap.cfg \
mmap_read_001_pos.ksh \
mmap_write_001_pos.ksh \
mmap_libaio_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ mmap.cfg
diff --git a/tests/zfs-tests/tests/functional/mmp/Makefile.am b/tests/zfs-tests/tests/functional/mmp/Makefile.am
index bb4288038..ecf16f806 100644
--- a/tests/zfs-tests/tests/functional/mmp/Makefile.am
+++ b/tests/zfs-tests/tests/functional/mmp/Makefile.am
@@ -11,6 +11,8 @@ dist_pkgdata_SCRIPTS = \
mmp_write_uberblocks.ksh \
mmp_reset_interval.ksh \
setup.ksh \
- cleanup.ksh \
+ cleanup.ksh
+
+dist_pkgdata_DATA = \
mmp.kshlib \
mmp.cfg
diff --git a/tests/zfs-tests/tests/functional/mv_files/Makefile.am b/tests/zfs-tests/tests/functional/mv_files/Makefile.am
index 574af156c..16a9c65eb 100644
--- a/tests/zfs-tests/tests/functional/mv_files/Makefile.am
+++ b/tests/zfs-tests/tests/functional/mv_files/Makefile.am
@@ -1,8 +1,10 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/mv_files
dist_pkgdata_SCRIPTS = \
- mv_files.cfg \
- mv_files_common.kshlib \
setup.ksh \
cleanup.ksh \
mv_files_001_pos.ksh \
mv_files_002_pos.ksh
+
+dist_pkgdata_DATA = \
+ mv_files.cfg \
+ mv_files_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/no_space/Makefile.am b/tests/zfs-tests/tests/functional/no_space/Makefile.am
index ac92882c0..a5b042b23 100644
--- a/tests/zfs-tests/tests/functional/no_space/Makefile.am
+++ b/tests/zfs-tests/tests/functional/no_space/Makefile.am
@@ -1,8 +1,10 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/no_space
dist_pkgdata_SCRIPTS = \
- enospc.cfg \
setup.ksh \
cleanup.ksh \
enospc_001_pos.ksh \
enospc_002_pos.ksh \
enospc_003_pos.ksh
+
+dist_pkgdata_DATA = \
+ enospc.cfg
diff --git a/tests/zfs-tests/tests/functional/nopwrite/Makefile.am b/tests/zfs-tests/tests/functional/nopwrite/Makefile.am
index c7c90e367..3f893c638 100644
--- a/tests/zfs-tests/tests/functional/nopwrite/Makefile.am
+++ b/tests/zfs-tests/tests/functional/nopwrite/Makefile.am
@@ -2,7 +2,6 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/nopwrite
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- nopwrite.shlib \
nopwrite_copies.ksh \
nopwrite_mtime.ksh \
nopwrite_negative.ksh \
@@ -11,3 +10,6 @@ dist_pkgdata_SCRIPTS = \
nopwrite_sync.ksh \
nopwrite_varying_compression.ksh \
nopwrite_volume.ksh
+
+dist_pkgdata_DATA = \
+ nopwrite.shlib
diff --git a/tests/zfs-tests/tests/functional/online_offline/Makefile.am b/tests/zfs-tests/tests/functional/online_offline/Makefile.am
index 9562ba5b1..bd23f89e5 100644
--- a/tests/zfs-tests/tests/functional/online_offline/Makefile.am
+++ b/tests/zfs-tests/tests/functional/online_offline/Makefile.am
@@ -1,8 +1,10 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/online_offline
dist_pkgdata_SCRIPTS = \
- online_offline.cfg \
setup.ksh \
cleanup.ksh \
online_offline_001_pos.ksh \
online_offline_002_neg.ksh \
online_offline_003_neg.ksh
+
+dist_pkgdata_DATA = \
+ online_offline.cfg
diff --git a/tests/zfs-tests/tests/functional/projectquota/Makefile.am b/tests/zfs-tests/tests/functional/projectquota/Makefile.am
index 4abfda0d2..e98c86728 100644
--- a/tests/zfs-tests/tests/functional/projectquota/Makefile.am
+++ b/tests/zfs-tests/tests/functional/projectquota/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/projectquota
dist_pkgdata_SCRIPTS = \
- projectquota.cfg \
- projectquota_common.kshlib \
setup.ksh \
cleanup.ksh \
projectid_001_pos.ksh \
@@ -23,3 +21,7 @@ dist_pkgdata_SCRIPTS = \
projecttree_001_pos.ksh \
projecttree_002_pos.ksh \
projecttree_003_neg.ksh
+
+dist_pkgdata_DATA = \
+ projectquota.cfg \
+ projectquota_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/quota/Makefile.am b/tests/zfs-tests/tests/functional/quota/Makefile.am
index 631868419..ba18bff7e 100644
--- a/tests/zfs-tests/tests/functional/quota/Makefile.am
+++ b/tests/zfs-tests/tests/functional/quota/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/quota
dist_pkgdata_SCRIPTS = \
- quota.cfg \
- quota.kshlib \
setup.ksh \
cleanup.ksh \
quota_001_pos.ksh \
@@ -10,3 +8,7 @@ dist_pkgdata_SCRIPTS = \
quota_004_pos.ksh \
quota_005_pos.ksh \
quota_006_neg.ksh
+
+dist_pkgdata_DATA = \
+ quota.cfg \
+ quota.kshlib
diff --git a/tests/zfs-tests/tests/functional/redundancy/Makefile.am b/tests/zfs-tests/tests/functional/redundancy/Makefile.am
index ef7dd91a3..6f6cc405b 100644
--- a/tests/zfs-tests/tests/functional/redundancy/Makefile.am
+++ b/tests/zfs-tests/tests/functional/redundancy/Makefile.am
@@ -1,10 +1,12 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/redundancy
dist_pkgdata_SCRIPTS = \
- redundancy.cfg \
- redundancy.kshlib \
setup.ksh \
cleanup.ksh \
redundancy_001_pos.ksh \
redundancy_002_pos.ksh \
redundancy_003_pos.ksh \
redundancy_004_neg.ksh
+
+dist_pkgdata_DATA = \
+ redundancy.cfg \
+ redundancy.kshlib
diff --git a/tests/zfs-tests/tests/functional/refreserv/Makefile.am b/tests/zfs-tests/tests/functional/refreserv/Makefile.am
index 41c88a6cb..96f25d444 100644
--- a/tests/zfs-tests/tests/functional/refreserv/Makefile.am
+++ b/tests/zfs-tests/tests/functional/refreserv/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/refreserv
dist_pkgdata_SCRIPTS = \
- refreserv.cfg \
setup.ksh \
cleanup.ksh \
refreserv_001_pos.ksh \
@@ -8,3 +7,6 @@ dist_pkgdata_SCRIPTS = \
refreserv_003_pos.ksh \
refreserv_004_pos.ksh \
refreserv_005_pos.ksh
+
+dist_pkgdata_DATA = \
+ refreserv.cfg
diff --git a/tests/zfs-tests/tests/functional/replacement/Makefile.am b/tests/zfs-tests/tests/functional/replacement/Makefile.am
index ff3a7dfb3..d47fcd5e1 100644
--- a/tests/zfs-tests/tests/functional/replacement/Makefile.am
+++ b/tests/zfs-tests/tests/functional/replacement/Makefile.am
@@ -1,8 +1,10 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/replacement
dist_pkgdata_SCRIPTS = \
- replacement.cfg \
setup.ksh \
cleanup.ksh \
replacement_001_pos.ksh \
replacement_002_pos.ksh \
replacement_003_pos.ksh
+
+dist_pkgdata_DATA = \
+ replacement.cfg
diff --git a/tests/zfs-tests/tests/functional/reservation/Makefile.am b/tests/zfs-tests/tests/functional/reservation/Makefile.am
index c346ca37c..49c9f7534 100644
--- a/tests/zfs-tests/tests/functional/reservation/Makefile.am
+++ b/tests/zfs-tests/tests/functional/reservation/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/reservation
dist_pkgdata_SCRIPTS = \
- reservation.cfg \
- reservation.shlib \
setup.ksh \
cleanup.ksh \
reservation_001_pos.sh \
@@ -22,3 +20,7 @@ dist_pkgdata_SCRIPTS = \
reservation_016_pos.sh \
reservation_017_pos.sh \
reservation_018_pos.sh
+
+dist_pkgdata_DATA = \
+ reservation.cfg \
+ reservation.shlib
diff --git a/tests/zfs-tests/tests/functional/rsend/Makefile.am b/tests/zfs-tests/tests/functional/rsend/Makefile.am
index 7a8b8a33a..fd00d6c49 100644
--- a/tests/zfs-tests/tests/functional/rsend/Makefile.am
+++ b/tests/zfs-tests/tests/functional/rsend/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/rsend
dist_pkgdata_SCRIPTS = \
- rsend.cfg \
- rsend.kshlib \
setup.ksh \
cleanup.ksh \
rsend_001_pos.ksh \
@@ -42,3 +40,7 @@ dist_pkgdata_SCRIPTS = \
send-cpL_varied_recsize.ksh \
send_freeobjects.ksh \
send_realloc_dnode_size.ksh
+
+dist_pkgdata_DATA = \
+ rsend.cfg \
+ rsend.kshlib
diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/Makefile.am b/tests/zfs-tests/tests/functional/scrub_mirror/Makefile.am
index a14d32dec..bc657fbf2 100644
--- a/tests/zfs-tests/tests/functional/scrub_mirror/Makefile.am
+++ b/tests/zfs-tests/tests/functional/scrub_mirror/Makefile.am
@@ -1,10 +1,12 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/scrub_mirror
dist_pkgdata_SCRIPTS = \
- default.cfg \
- scrub_mirror_common.kshlib \
setup.ksh \
cleanup.ksh \
scrub_mirror_001_pos.ksh \
scrub_mirror_002_pos.ksh \
scrub_mirror_003_pos.ksh \
scrub_mirror_004_pos.ksh
+
+dist_pkgdata_DATA = \
+ default.cfg \
+ scrub_mirror_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/slog/Makefile.am b/tests/zfs-tests/tests/functional/slog/Makefile.am
index 157e66707..4548ce63b 100644
--- a/tests/zfs-tests/tests/functional/slog/Makefile.am
+++ b/tests/zfs-tests/tests/functional/slog/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/slog
dist_pkgdata_SCRIPTS = \
- slog.cfg \
- slog.kshlib \
setup.ksh \
cleanup.ksh \
slog_001_pos.ksh \
@@ -21,3 +19,7 @@ dist_pkgdata_SCRIPTS = \
slog_015_neg.ksh \
slog_replay_fs.ksh \
slog_replay_volume.ksh
+
+dist_pkgdata_DATA = \
+ slog.cfg \
+ slog.kshlib
diff --git a/tests/zfs-tests/tests/functional/snapshot/Makefile.am b/tests/zfs-tests/tests/functional/snapshot/Makefile.am
index 091434d24..783133a64 100644
--- a/tests/zfs-tests/tests/functional/snapshot/Makefile.am
+++ b/tests/zfs-tests/tests/functional/snapshot/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/snapshot
dist_pkgdata_SCRIPTS = \
- snapshot.cfg \
setup.ksh \
cleanup.ksh \
clone_001_pos.ksh \
@@ -24,3 +23,6 @@ dist_pkgdata_SCRIPTS = \
snapshot_015_pos.ksh \
snapshot_016_pos.ksh \
snapshot_017_pos.ksh
+
+dist_pkgdata_DATA = \
+ snapshot.cfg
diff --git a/tests/zfs-tests/tests/functional/snapused/Makefile.am b/tests/zfs-tests/tests/functional/snapused/Makefile.am
index f19320a88..d6551b7c4 100644
--- a/tests/zfs-tests/tests/functional/snapused/Makefile.am
+++ b/tests/zfs-tests/tests/functional/snapused/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/snapused
dist_pkgdata_SCRIPTS = \
- snapused.kshlib \
setup.ksh \
cleanup.ksh \
snapused_001_pos.ksh \
@@ -8,3 +7,6 @@ dist_pkgdata_SCRIPTS = \
snapused_003_pos.ksh \
snapused_004_pos.ksh \
snapused_005_pos.ksh
+
+dist_pkgdata_DATA = \
+ snapused.kshlib
diff --git a/tests/zfs-tests/tests/functional/sparse/Makefile.am b/tests/zfs-tests/tests/functional/sparse/Makefile.am
index 33256b925..f1b9e04dc 100644
--- a/tests/zfs-tests/tests/functional/sparse/Makefile.am
+++ b/tests/zfs-tests/tests/functional/sparse/Makefile.am
@@ -1,6 +1,8 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/sparse
dist_pkgdata_SCRIPTS = \
- sparse.cfg \
setup.ksh \
cleanup.ksh \
sparse_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ sparse.cfg
diff --git a/tests/zfs-tests/tests/functional/truncate/Makefile.am b/tests/zfs-tests/tests/functional/truncate/Makefile.am
index 0071e8f87..b2d804b5d 100644
--- a/tests/zfs-tests/tests/functional/truncate/Makefile.am
+++ b/tests/zfs-tests/tests/functional/truncate/Makefile.am
@@ -5,11 +5,13 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/truncate
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- truncate.cfg \
truncate_001_pos.ksh \
truncate_002_pos.ksh \
truncate_timestamps.ksh
+dist_pkgdata_DATA = \
+ truncate.cfg
+
pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/truncate
pkgexec_PROGRAMS = truncate_test
diff --git a/tests/zfs-tests/tests/functional/upgrade/Makefile.am b/tests/zfs-tests/tests/functional/upgrade/Makefile.am
index ee1b92846..a774989cc 100644
--- a/tests/zfs-tests/tests/functional/upgrade/Makefile.am
+++ b/tests/zfs-tests/tests/functional/upgrade/Makefile.am
@@ -1,7 +1,9 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/upgrade
dist_pkgdata_SCRIPTS = \
- upgrade_common.kshlib \
setup.ksh \
cleanup.ksh \
upgrade_userobj_001_pos.ksh \
upgrade_projectquota_001_pos.ksh
+
+dist_pkgdata_DATA = \
+ upgrade_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/user_namespace/Makefile.am b/tests/zfs-tests/tests/functional/user_namespace/Makefile.am
index 0c0f6887a..5f95dbf8d 100644
--- a/tests/zfs-tests/tests/functional/user_namespace/Makefile.am
+++ b/tests/zfs-tests/tests/functional/user_namespace/Makefile.am
@@ -2,6 +2,8 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/user_namespace
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
- user_namespace_common.kshlib \
- user_namespace.cfg \
user_namespace_001.ksh
+
+dist_pkgdata_DATA = \
+ user_namespace_common.kshlib \
+ user_namespace.cfg
diff --git a/tests/zfs-tests/tests/functional/userquota/Makefile.am b/tests/zfs-tests/tests/functional/userquota/Makefile.am
index b7f38f98e..8f0287bc1 100644
--- a/tests/zfs-tests/tests/functional/userquota/Makefile.am
+++ b/tests/zfs-tests/tests/functional/userquota/Makefile.am
@@ -1,7 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/userquota
dist_pkgdata_SCRIPTS = \
- userquota.cfg \
- userquota_common.kshlib \
setup.ksh \
cleanup.ksh \
groupspace_001_pos.ksh \
@@ -23,3 +21,7 @@ dist_pkgdata_SCRIPTS = \
userspace_001_pos.ksh \
userspace_002_pos.ksh \
userspace_003_pos.ksh
+
+dist_pkgdata_DATA = \
+ userquota.cfg \
+ userquota_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/Makefile.am b/tests/zfs-tests/tests/functional/vdev_zaps/Makefile.am
index 95dda3e92..4efb1bcf2 100644
--- a/tests/zfs-tests/tests/functional/vdev_zaps/Makefile.am
+++ b/tests/zfs-tests/tests/functional/vdev_zaps/Makefile.am
@@ -8,5 +8,7 @@ dist_pkgdata_SCRIPTS = \
vdev_zaps_004_pos.ksh \
vdev_zaps_005_pos.ksh \
vdev_zaps_006_pos.ksh \
- vdev_zaps_007_pos.ksh \
+ vdev_zaps_007_pos.ksh
+
+dist_pkgdata_DATA = \
vdev_zaps.kshlib
diff --git a/tests/zfs-tests/tests/functional/xattr/Makefile.am b/tests/zfs-tests/tests/functional/xattr/Makefile.am
index e404e84b1..17001885f 100644
--- a/tests/zfs-tests/tests/functional/xattr/Makefile.am
+++ b/tests/zfs-tests/tests/functional/xattr/Makefile.am
@@ -1,9 +1,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/xattr
dist_pkgdata_SCRIPTS = \
- xattr_common.kshlib \
setup.ksh \
cleanup.ksh \
- xattr.cfg \
xattr_001_pos.ksh \
xattr_002_neg.ksh \
xattr_003_neg.ksh \
@@ -16,4 +14,8 @@ dist_pkgdata_SCRIPTS = \
xattr_010_neg.ksh \
xattr_011_pos.ksh \
xattr_012_pos.ksh \
- xattr_013_pos.ksh
+ xattr_013_pos.ksh
+
+dist_pkgdata_DATA = \
+ xattr_common.kshlib \
+ xattr.cfg
diff --git a/tests/zfs-tests/tests/functional/zvol/Makefile.am b/tests/zfs-tests/tests/functional/zvol/Makefile.am
index 8aba0993e..e4910754b 100644
--- a/tests/zfs-tests/tests/functional/zvol/Makefile.am
+++ b/tests/zfs-tests/tests/functional/zvol/Makefile.am
@@ -1,5 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol
-dist_pkgdata_SCRIPTS = \
+dist_pkgdata_DATA = \
zvol.cfg \
zvol_common.shlib
diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile.am b/tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile.am
index 7d68d0cfc..480c0048c 100644
--- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile.am
+++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile.am
@@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_swap
dist_pkgdata_SCRIPTS = \
- zvol_swap.cfg \
cleanup.ksh \
setup.ksh \
zvol_swap_001_pos.ksh \
@@ -9,3 +8,6 @@ dist_pkgdata_SCRIPTS = \
zvol_swap_004_pos.ksh \
zvol_swap_005_pos.ksh \
zvol_swap_006_pos.ksh
+
+dist_pkgdata_DATA = \
+ zvol_swap.cfg
diff --git a/tests/zfs-tests/tests/perf/Makefile.am b/tests/zfs-tests/tests/perf/Makefile.am
index a0502037e..d31bba0e2 100644
--- a/tests/zfs-tests/tests/perf/Makefile.am
+++ b/tests/zfs-tests/tests/perf/Makefile.am
@@ -1,5 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/perf
-dist_pkgdata_SCRIPTS = perf.shlib
+dist_pkgdata_DATA = perf.shlib
SUBDIRS = \
fio \
diff --git a/tests/zfs-tests/tests/perf/fio/Makefile.am b/tests/zfs-tests/tests/perf/fio/Makefile.am
index 9604a9df6..c4a2a4c3f 100644
--- a/tests/zfs-tests/tests/perf/fio/Makefile.am
+++ b/tests/zfs-tests/tests/perf/fio/Makefile.am
@@ -1,5 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/perf/fio
-dist_pkgdata_SCRIPTS = \
+dist_pkgdata_DATA = \
mkfiles.fio \
random_reads.fio \
random_readwrite.fio \