Date: Thu, 15 Feb 2018 00:13:41 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r329289 - in projects/zfsd/head/tests/sys/cddl/zfs/tests: acl/cifs acl/nontrivial acl/trivial atime bootfs cache cachefile clean_mirror cli_root/zdb cli_root/zfs cli_root/zfs_clone cli_... Message-ID: <201802150013.w1F0DfUf022446@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Thu Feb 15 00:13:41 2018 New Revision: 329289 URL: https://svnweb.freebsd.org/changeset/base/329289 Log: Skip most ZFS tests when unprivileged tests/sys/cddl/zfs/tests/.../Makefile Add TEST_METADATA+=required_user="root" to almost all tests Sponsored by: Spectra Logic Corp Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/cifs/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/nontrivial/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/trivial/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/atime/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/bootfs/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cache/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cachefile/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/clean_mirror/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zdb/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_create/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_diff/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_get/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_promote/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_property/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_reservation/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_send/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_share/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_attach/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_clear/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_detach/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_expand/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_export/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_get/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_history/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_import/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_online/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_set/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_status/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_user/zfs_list/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/compression/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/ctime/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/delegate/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/devices/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/exec/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_pool/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_replicas/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/history/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/hotplug/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/inheritance/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/interop/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/inuse/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/iscsi/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/large_files/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/largest_pool/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/link_count/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/mdb/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/migration/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/mmap/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/mount/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/mv_files/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/nestedfs/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/no_space/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/online_offline/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/pool_names/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/poolversion/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/privilege/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/quota/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/refquota/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/refreserv/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/cross_endian/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/rebooting/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/sharing/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/rename_dirs/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/replacement/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/reservation/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/rootpool/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/rsend/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/scrub_mirror/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/slog/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/snapused/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/sparse/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/threadsappend/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/truncate/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/txg_integrity/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/userquota/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/write_dirs/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/xattr/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zil/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zinject/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zones/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol/zvol_ENOSPC/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol/zvol_cli/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol/zvol_misc/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol/zvol_swap/Makefile projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol_thrash/Makefile Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/cifs/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/cifs/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/cifs/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -12,5 +12,6 @@ ${PACKAGE}FILES+= cifs_attr_002_pos.ksh ${PACKAGE}FILES+= cifs_attr_003_pos.ksh ATF_TESTS_KSH93+= cifs_test +TEST_METADATA+= required_user="root" .include <bsd.test.mk> Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/nontrivial/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/nontrivial/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/nontrivial/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -34,5 +34,6 @@ ${PACKAGE}FILES+= zfs_acl_tar_001_pos.ksh ${PACKAGE}FILES+= zfs_acl_tar_002_pos.ksh ATF_TESTS_KSH93+= nontrivial_test +TEST_METADATA+= required_user="root" .include <bsd.test.mk> Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/trivial/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/trivial/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/acl/trivial/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -27,5 +27,6 @@ ${PACKAGE}FILES+= zfs_acl_tar_001_pos.ksh ${PACKAGE}FILES+= zfs_acl_tar_002_neg.ksh ATF_TESTS_KSH93+= trivial_test +TEST_METADATA+= required_user="root" .include <bsd.test.mk> Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/atime/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/atime/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/atime/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -14,5 +14,6 @@ ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= setup.ksh ATF_TESTS_KSH93+= atime_test +TEST_METADATA+= required_user="root" .include <bsd.test.mk> Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/bootfs/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/bootfs/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/bootfs/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -18,5 +18,6 @@ ${PACKAGE}FILES+= bootfs_008_neg.ksh ${PACKAGE}FILES+= bootfs_009_neg.ksh ATF_TESTS_KSH93+= bootfs_test +TEST_METADATA+= required_user="root" .include <bsd.test.mk> Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cache/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cache/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cache/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cache FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= cache_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cache_005_neg.ksh ${PACKAGE}FILES+= cache.kshlib Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cachefile/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cachefile/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cachefile/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cachefile FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= cachefile_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cachefile_002_pos.ksh ${PACKAGE}FILES+= cachefile_003_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/clean_mirror/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/clean_mirror/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/clean_mirror/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/clean_mirror FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= clean_mirror_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= clean_mirror_001_pos.ksh ${PACKAGE}FILES+= clean_mirror_002_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zdb/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zdb/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zdb/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zdb FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zdb_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zdb_001_neg.ksh ${PACKAGE}FILES+= zdb.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_malformed.cfg ${PACKAGE}FILES+= zfs_001_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_clone_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_clone_005_pos.ksh ${PACKAGE}FILES+= zfs_clone_008_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_copies_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_copies.cfg ${PACKAGE}FILES+= zfs_copies_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_create/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_create/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_create/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_create_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= properties.kshlib ${PACKAGE}FILES+= zfs_create_011_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_destroy_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_destroy_001_pos.ksh ${PACKAGE}FILES+= zfs_destroy.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_diff/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_diff/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_diff/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -8,6 +8,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_diff_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_get/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_get/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_get/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_get_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_get_002_pos.ksh ${PACKAGE}FILES+= zfs_get_007_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_inherit_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= zfs_inherit_002_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_mount_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_mount_004_pos.ksh ${PACKAGE}FILES+= zfs_mount_008_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_promote/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_promote/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_promote/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_promote_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= zfs_promote_006_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_property/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_property/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_property/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_property_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_set_property_001_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_receive_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_receive_004_neg.ksh ${PACKAGE}FILES+= zfs_receive_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_rename_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_rename_002_pos.ksh ${PACKAGE}FILES+= zfs_rename_006_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_reservation/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_reservation/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_reservation/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_reservation_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_reservation.cfg ${PACKAGE}FILES+= zfs_reservation_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_rollback_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_rollback_003_neg.ksh ${PACKAGE}FILES+= zfs_rollback_002_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_send/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_send/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_send/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_send_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_set_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_set_common.kshlib ${PACKAGE}FILES+= onoffs_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_share/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_share/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_share/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_share_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_share_003_pos.ksh ${PACKAGE}FILES+= zfs_share_006_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_snapshot_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= zfs_snapshot_005_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_unmount_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_unmount_003_pos.ksh ${PACKAGE}FILES+= zfs_unmount_all_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_unshare_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_unshare_003_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_upgrade_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_upgrade.cfg ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_001_neg.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_add_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_attach/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_attach/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_attach/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_attach_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= zpool_attach_001_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_clear/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_clear/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_clear/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_clear_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= zpool_clear_003_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_create_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_create_003_pos.ksh ${PACKAGE}FILES+= zpool_create_020_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_destroy_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_detach/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_detach/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_detach/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_detach_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_detach.cfg ${PACKAGE}FILES+= zpool_detach_001_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_expand/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_expand/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_expand/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_expand_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_expand_003_neg.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_export/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_export/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_export/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_export_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_export.cfg ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_get/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_get/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_get/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_get_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= zpool_get_002_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_history/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_history/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_history/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_history_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_import/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_import/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_import/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_import_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_import_006_pos.ksh ${PACKAGE}FILES+= zpool_import_002_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_offline_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= zpool_offline_002_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_online/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_online/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_online/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_online_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= zpool_online.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_remove_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_remove_001_neg.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_replace_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_replace_001_neg.ksh ${PACKAGE}FILES+= zpool_replace_002_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_scrub_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_scrub_001_neg.ksh ${PACKAGE}FILES+= zpool_scrub_004_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_set/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_set/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_set/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_set_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_set_002_neg.ksh ${PACKAGE}FILES+= zpool_set_003_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_status/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_status/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_status/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_status_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zpool_status.cfg ${PACKAGE}FILES+= zpool_status_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_root/zpoo FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zpool_upgrade_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= zpool_upgrade_003_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_user/zfs_list/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_user/zfs_list/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_user/zfs_list/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/cli_user/zfs_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_list_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= zfs_list_006_pos.ksh ${PACKAGE}FILES+= zfs_list_002_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/compression/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/compression/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/compression/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/compression FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= compression_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= compress_004_pos.ksh ${PACKAGE}FILES+= compress_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/ctime/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/ctime/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/ctime/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -14,5 +14,6 @@ ${PACKAGE}FILES+= ctime.cfg PROG= ctime_001_pos MAN= ATF_TESTS_KSH93= ctime_test +TEST_METADATA+= required_user="root" .include <bsd.test.mk> Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/delegate/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/delegate/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/delegate/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -8,6 +8,7 @@ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= zfs_allow_test ATF_TESTS_KSH93+= zfs_unallow_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/devices/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/devices/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/devices/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/devices FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= devices_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= devices_common.kshlib ${PACKAGE}FILES+= devices_002_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/exec/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/exec/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/exec/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -8,6 +8,7 @@ FILESDIR=${TESTSDIR} BINDIR=${TESTSDIR} ATF_TESTS_KSH93+= exec_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= exec_001_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_pool/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_pool/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_pool/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/grow_pool FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= grow_pool_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= grow_pool_001_pos.ksh ${PACKAGE}FILES+= grow_pool.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_replicas/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_replicas/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/grow_replicas/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/grow_replicas FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= grow_replicas_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/history/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/history/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/history/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/history/ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= history_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= history_005_neg.ksh ${PACKAGE}FILES+= history_004_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/hotplug/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/hotplug/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/hotplug/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/hotplug FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= hotplug_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= hotplug.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/hotspare FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= hotspare_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= hotspare_create_001_neg.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/inheritance/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/inheritance/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/inheritance/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/inheritance FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= inheritance_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= config015.cfg ${PACKAGE}FILES+= config012.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/interop/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/interop/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/interop/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/interop FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= interop_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= interop_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/inuse/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/inuse/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/inuse/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/inuse FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= inuse_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= inuse.cfg ${PACKAGE}FILES+= inuse_005_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/iscsi/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/iscsi/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/iscsi/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/iscsi FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= iscsi_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= iscsi_004_pos.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/large_files/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/large_files/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/large_files/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/large_files FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= large_files_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/largest_pool/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/largest_pool/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/largest_pool/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/largest_pool FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= largest_pool_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= largest_pool.cfg ${PACKAGE}FILES+= largest_pool_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/link_count/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/link_count/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/link_count/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/link_count/ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= link_count_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= link_count_001.ksh ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/mdb/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/mdb/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/mdb/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/mdb FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= mdb_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= mdb.cfg ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/migration/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/migration/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/migration/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/migration/ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= migration_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= migration_011_pos.ksh ${PACKAGE}FILES+= migration_008_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/mmap/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/mmap/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/mmap/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/mmap FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= mmap_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= mmap.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/mount/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/mount/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/mount/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/mount/ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= mount_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= vars.cfg ${PACKAGE}FILES+= mounttest.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/mv_files/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/mv_files/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/mv_files/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/mv_files FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= mv_files_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= mv_files_common.kshlib Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/nestedfs/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/nestedfs/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/nestedfs/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/nestedfs FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= nestedfs_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= nestedfs.cfg ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/no_space/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/no_space/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/no_space/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/no_space FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= no_space_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= enospc.cfg ${PACKAGE}FILES+= cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/online_offline/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/online_offline/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/online_offline/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/online_offlin FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= online_offline_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= online_offline_001_pos.ksh ${PACKAGE}FILES+= online_offline.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/pool_names/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/pool_names/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/pool_names/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/pool_names FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= pool_names_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= pool_names_002_neg.ksh ${PACKAGE}FILES+= pool_names.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/poolversion/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/poolversion/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/poolversion/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/poolversion FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= poolversion_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= poolversion_002_pos.ksh ${PACKAGE}FILES+= poolversion_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/privilege/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/privilege/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/privilege/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/privilege FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= privilege_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= privilege_001_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/quota/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/quota/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/quota/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/quota FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= quota_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= quota_003_pos.ksh ${PACKAGE}FILES+= quota_006_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/redundancy FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= redundancy_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= redundancy.cfg ${PACKAGE}FILES+= redundancy_003_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/refquota/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/refquota/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/refquota/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/refquota FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= refquota_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= refquota_001_pos.ksh ${PACKAGE}FILES+= refquota_005_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/refreserv/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/refreserv/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/refreserv/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/refreserv FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= refreserv_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= refreserv_004_pos.ksh ${PACKAGE}FILES+= refreserv_005_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/cross_endian/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/cross_endian/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/cross_endian/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/remote/cross_ FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= cross_endian_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= cross_endian.cfg Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/rebooting/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/rebooting/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/rebooting/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/remote/reboot FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= rebooting_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= rebooting.cfg ${PACKAGE}FILES+= r_setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/sharing/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/sharing/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/remote/sharing/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/remote/sharin FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= sharing_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= r_setup.ksh ${PACKAGE}FILES+= r_cleanup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/rename_dirs/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/rename_dirs/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/rename_dirs/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/rename_dirs FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= rename_dirs_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= rename_dirs_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/replacement/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/replacement/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/replacement/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/replacement FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= replacement_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= replacement_002_pos.ksh ${PACKAGE}FILES+= replacement_003_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/reservation/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/reservation/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/reservation/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR= ${TESTSBASE}/sys/cddl/zfs/tests/reservation FILESDIR= ${TESTSDIR} ATF_TESTS_KSH93+= reservation_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= reservation.cfg ${PACKAGE}FILES+= reservation_007_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/rootpool/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/rootpool/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/rootpool/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR= ${TESTSBASE}/sys/cddl/zfs/tests/rootpool FILESDIR= ${TESTSDIR} ATF_TESTS_KSH93+= rootpool_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= rootpool_007_neg.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/rsend/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/rsend/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/rsend/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/rsend FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= rsend_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= rsend_003_pos.ksh ${PACKAGE}FILES+= rsend_007_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/scrub_mirror/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/scrub_mirror/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/scrub_mirror/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/scrub_mirror FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= scrub_mirror_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= scrub_mirror_004_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/slog/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/slog/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/slog/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/slog FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= slog_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= slog_012_neg.ksh ${PACKAGE}FILES+= slog_013_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/snapshot FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= snapshot_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= rollback_001_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/snapused/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/snapused/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/snapused/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/snapused FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= snapused_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= snapused_005_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/sparse/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/sparse/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/sparse/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/sparse FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= sparse_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= sparse_001_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/threadsappend/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/threadsappend/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/threadsappend/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -8,6 +8,7 @@ FILESDIR=${TESTSDIR} BINDIR=${TESTSDIR} ATF_TESTS_KSH93+= threadsappend_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= cleanup.ksh ${PACKAGE}FILES+= threadsappend_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/truncate/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/truncate/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/truncate/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/truncate FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= truncate_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= truncate_001_pos.ksh ${PACKAGE}FILES+= setup.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/txg_integrity/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/txg_integrity/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/txg_integrity/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -8,6 +8,7 @@ FILESDIR=${TESTSDIR} BINDIR=${TESTSDIR} ATF_TESTS_KSH93+= txg_integrity_test +TEST_METADATA+= required_user="root" ${PACKAGE}FILES+= setup.ksh ${PACKAGE}FILES+= txg_integrity_001_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/userquota/Makefile ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/userquota/Makefile Thu Feb 15 00:11:42 2018 (r329288) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/userquota/Makefile Thu Feb 15 00:13:41 2018 (r329289) @@ -7,6 +7,7 @@ TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/userquota FILESDIR=${TESTSDIR} ATF_TESTS_KSH93+= userquota_test *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802150013.w1F0DfUf022446>