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