xref: /illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/Makefile (revision c3d26abc9ee97b4f60233556aadeb57e0bd30bb9)
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 (c) 2012, 2015 by Delphix. All rights reserved.
14#
15
16include $(SRC)/Makefile.master
17
18ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19TESTDIR = $(ROOTOPTPKG)/tests/functional/cli_root/zpool_create
20
21PROGS = cleanup \
22	setup \
23	zpool_create_001_pos \
24	zpool_create_002_pos \
25	zpool_create_003_pos \
26	zpool_create_004_pos \
27	zpool_create_005_pos \
28	zpool_create_006_pos \
29	zpool_create_007_neg \
30	zpool_create_008_pos \
31	zpool_create_009_neg \
32	zpool_create_010_neg \
33	zpool_create_011_neg \
34	zpool_create_012_neg \
35	zpool_create_014_neg \
36	zpool_create_015_neg \
37	zpool_create_016_pos \
38	zpool_create_017_neg \
39	zpool_create_018_pos \
40	zpool_create_019_pos \
41	zpool_create_020_pos \
42	zpool_create_021_pos \
43	zpool_create_022_pos \
44	zpool_create_023_neg \
45	zpool_create_features_001_pos \
46	zpool_create_features_002_pos \
47	zpool_create_features_003_pos \
48	zpool_create_features_004_neg
49
50FILES = zpool_create.cfg \
51	zpool_create.shlib
52
53CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
54$(CMDS) := FILEMODE = 0555
55
56all lint clean clobber:
57
58install: $(CMDS)
59
60$(CMDS): $(TESTDIR)
61
62$(TESTDIR):
63	$(INS.dir)
64
65$(TESTDIR)/%: %
66	$(INS.file)
67
68$(TESTDIR)/%: %.ksh
69	$(INS.rename)
70