xref: /freebsd/tests/sys/cddl/zfs/tests/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3PACKAGE=	tests
4TESTSDIR=	${TESTSBASE}/sys/cddl/zfs/tests
5
6TESTS_SUBDIRS+=	acl
7TESTS_SUBDIRS+=	atime
8TESTS_SUBDIRS+=	bootfs
9TESTS_SUBDIRS+=	cache
10TESTS_SUBDIRS+=	cachefile
11TESTS_SUBDIRS+=	clean_mirror
12TESTS_SUBDIRS+=	cli_root
13TESTS_SUBDIRS+=	cli_user
14TESTS_SUBDIRS+=	compression
15TESTS_SUBDIRS+=	ctime
16TESTS_SUBDIRS+=	delegate
17TESTS_SUBDIRS+=	devices
18TESTS_SUBDIRS+=	exec
19TESTS_SUBDIRS+=	grow_pool
20TESTS_SUBDIRS+=	grow_replicas
21TESTS_SUBDIRS+=	history
22TESTS_SUBDIRS+=	hotplug
23TESTS_SUBDIRS+=	hotspare
24TESTS_SUBDIRS+=	inheritance
25# Not yet ported to FreeBSD
26# TESTS_SUBDIRS+=	interop
27TESTS_SUBDIRS+=	inuse
28# Not yet ported to FreeBSD
29# TESTS_SUBDIRS+=	iscsi
30TESTS_SUBDIRS+=	large_files
31# Not yet ported to FreeBSD
32# TESTS_SUBDIRS+=	largest_pool
33# link_count is not yet ported to FreeBSD.  I'm not sure what its purpose is.
34# The assertion message contradicts with the log_fail message.
35# TESTS_SUBDIRS+=	link_count
36TESTS_SUBDIRS+=	migration
37TESTS_SUBDIRS+=	mmap
38TESTS_SUBDIRS+=	mount
39TESTS_SUBDIRS+=	mv_files
40TESTS_SUBDIRS+=	nestedfs
41TESTS_SUBDIRS+=	no_space
42TESTS_SUBDIRS+=	online_offline
43TESTS_SUBDIRS+=	pool_names
44TESTS_SUBDIRS+=	poolversion
45TESTS_SUBDIRS+=	quota
46TESTS_SUBDIRS+=	redundancy
47TESTS_SUBDIRS+=	refquota
48TESTS_SUBDIRS+=	refreserv
49# Broken on every OS
50# TESTS_SUBDIRS+=	rename_dirs
51TESTS_SUBDIRS+=	replacement
52TESTS_SUBDIRS+=	reservation
53TESTS_SUBDIRS+=	rootpool
54# Not yet ported to FreeBSD
55# TESTS_SUBDIRS+=	rsend
56TESTS_SUBDIRS+=	scrub_mirror
57TESTS_SUBDIRS+=	slog
58TESTS_SUBDIRS+=	snapshot
59TESTS_SUBDIRS+=	snapused
60TESTS_SUBDIRS+=	sparse
61TESTS_SUBDIRS+=	threadsappend
62TESTS_SUBDIRS+=	truncate
63TESTS_SUBDIRS+=	txg_integrity
64TESTS_SUBDIRS+=	userquota
65TESTS_SUBDIRS+=	utils_test
66TESTS_SUBDIRS+=	write_dirs
67# Not yet ported to FreeBSD
68# TESTS_SUBDIRS+=	xattr
69TESTS_SUBDIRS+=	zfsd
70TESTS_SUBDIRS+=	zil
71# Not yet ported to FreeBSD
72# TESTS_SUBDIRS+=	zinject
73# Not yet ported to FreeBSD
74# TESTS_SUBDIRS+=	zones
75TESTS_SUBDIRS+=	zvol
76TESTS_SUBDIRS+=	zvol_thrash
77
78# This is primarily useful for identifying which test a testid corresponds to.
79# Sometimes all you might have is a pool name like 'testpool.1316'.
80testids:
81	for i in `find ${.CURDIR} -name '*.sh' | xargs grep '^atf_test_case '|awk '{print $$2}'`; do \
82		echo "$${i}: $$(echo $$i | cksum -o 2 | cut -d" " -f1)"; \
83	done
84
85.PHONY: testids
86
87.include <bsd.test.mk>
88