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) 2013 by Delphix. All rights reserved.
14 #
15
16 include $(SRC)/Makefile.master
17
18 ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 TESTDIR = $(ROOTOPTPKG)/tests/functional/userquota
20
21 PROGS = cleanup \
22 groupspace_001_pos \
23 groupspace_002_pos \
24 setup \
25 userquota_001_pos \
26 userquota_002_pos \
27 userquota_003_pos \
28 userquota_004_pos \
29 userquota_005_neg \
30 userquota_006_pos \
31 userquota_007_pos \
32 userquota_008_pos \
33 userquota_009_pos \
34 userquota_010_pos \
35 userquota_011_pos \
36 userquota_012_neg \
37 userspace_001_pos \
38 userspace_002_pos
39
40 FILES = userquota.cfg \
41 userquota_common.kshlib
42
43 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
44 $(CMDS) := FILEMODE = 0555
45
46 all lint clean clobber:
47
48 install: $(CMDS)
49
50 $(CMDS): $(TESTDIR)
51
52 $(TESTDIR):
53 $(INS.dir)
54
55 $(TESTDIR)/%: %.ksh
56 $(INS.rename)
57
58 $(TESTDIR)/%: %
59 $(INS.file)