7290 ZFS test suite needs to control what utilities it can run
[unleashed.git] / usr / src / test / zfs-tests / tests / functional / cli_root / zfs_snapshot / Makefile
bloba605b26d6a122681fda9f9d3f59a9c9675423d0b
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.
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.
13 # Copyright (c) 2012 by Delphix. All rights reserved.
16 include $(SRC)/Makefile.master
18 ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 TESTDIR = $(ROOTOPTPKG)/tests/functional/cli_root/zfs_snapshot
21 PROGS = cleanup \
22 setup \
23 zfs_snapshot_001_neg \
24 zfs_snapshot_002_neg \
25 zfs_snapshot_003_neg \
26 zfs_snapshot_004_neg \
27 zfs_snapshot_005_neg \
28 zfs_snapshot_006_pos \
29 zfs_snapshot_007_neg \
30 zfs_snapshot_008_neg \
31 zfs_snapshot_009_pos
33 FILES = zfs_snapshot.cfg
35 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
36 $(CMDS) := FILEMODE = 0555
38 all lint clean clobber:
40 install: $(CMDS)
42 $(CMDS): $(TESTDIR)
44 $(TESTDIR):
45 $(INS.dir)
47 $(TESTDIR)/%: %
48 $(INS.file)
50 $(TESTDIR)/%: %.ksh
51 $(INS.rename)