xref: /illumos-gate/usr/src/test/zfs-tests/tests/functional/casenorm/Makefile (revision 7f11fd00fc23e2af7ae21cc8837a2b86380dcfa7)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
14#
15
16include		$(SRC)/Makefile.master
17
18ROOTOPTPKG=	$(ROOT)/opt/zfs-tests
19ROOTTESTDIR=	$(ROOTOPTPKG)/tests/functional/casenorm
20
21TESTS=		setup				\
22		cleanup				\
23		case_all_values			\
24		norm_all_values			\
25		sensitive_none_lookup		\
26		sensitive_none_delete		\
27		sensitive_formd_lookup		\
28		sensitive_formd_delete		\
29		insensitive_none_lookup		\
30		insensitive_none_delete		\
31		insensitive_formd_lookup	\
32		insensitive_formd_delete	\
33		mixed_none_lookup		\
34		mixed_none_lookup_ci		\
35		mixed_none_delete		\
36		mixed_formd_lookup		\
37		mixed_formd_lookup_ci		\
38		mixed_formd_delete
39
40FILES=		casenorm.cfg	\
41		casenorm.kshlib
42
43ROOTTESTS=	$(TESTS:%=$(ROOTTESTDIR)/%)
44ROOTFILES=	$(FILES:%=$(ROOTTESTDIR)/%)
45$(ROOTTESTS) :=	FILEMODE = 0555
46$(ROOTFILES) :=	FILEMODE = 0444
47
48all lint clean clobber:
49
50install:	$(ROOTTESTS) $(ROOTFILES)
51
52$(ROOTTESTS) $(ROOTFILES): $(ROOTTESTDIR)
53
54$(ROOTTESTDIR):
55		$(INS.dir)
56
57$(ROOTTESTDIR)/%: %.ksh
58		$(INS.rename)
59
60$(ROOTTESTDIR)/%: %
61		$(INS.file)
62