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