xref: /illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/Makefile (revision f985abb4a2473d3c04b086f7c9fab177e368ffef)
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 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_013_neg \
36	zpool_create_014_neg \
37	zpool_create_015_neg \
38	zpool_create_016_pos \
39	zpool_create_017_neg \
40	zpool_create_018_pos \
41	zpool_create_019_pos \
42	zpool_create_020_pos \
43	zpool_create_021_pos \
44	zpool_create_022_pos \
45	zpool_create_023_neg \
46	zpool_create_features_001_pos \
47	zpool_create_features_002_pos \
48	zpool_create_features_003_pos \
49	zpool_create_features_004_neg
50
51FILES = zpool_create.cfg \
52	zpool_create.shlib
53
54CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
55$(CMDS) := FILEMODE = 0555
56
57all lint clean clobber:
58
59install: $(CMDS)
60
61$(CMDS): $(TESTDIR)
62
63$(TESTDIR):
64	$(INS.dir)
65
66$(TESTDIR)/%: %
67	$(INS.file)
68
69$(TESTDIR)/%: %.ksh
70	$(INS.rename)
71