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/zfs_set 20 21PROGS = cleanup \ 22 setup \ 23 cache_001_pos \ 24 cache_002_neg \ 25 canmount_001_pos \ 26 canmount_002_pos \ 27 canmount_003_pos \ 28 canmount_004_pos \ 29 checksum_001_pos \ 30 compression_001_pos \ 31 mountpoint_001_pos \ 32 mountpoint_002_pos \ 33 mountpoint_003_pos \ 34 onoffs_001_pos \ 35 property_alias_001_pos \ 36 readonly_001_pos \ 37 reservation_001_neg \ 38 ro_props_001_pos \ 39 share_mount_001_neg \ 40 snapdir_001_pos \ 41 user_property_001_pos \ 42 user_property_002_pos \ 43 user_property_003_neg \ 44 user_property_004_pos \ 45 version_001_neg \ 46 zfs_set_001_neg \ 47 zfs_set_002_neg \ 48 zfs_set_003_neg 49 50FILES = zfs_set_common.kshlib 51 52CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%) 53$(CMDS) := FILEMODE = 0555 54 55all lint clean clobber: 56 57install: $(CMDS) 58 59$(CMDS): $(TESTDIR) 60 61$(TESTDIR): 62 $(INS.dir) 63 64$(TESTDIR)/%: % 65 $(INS.file) 66 67$(TESTDIR)/%: %.ksh 68 $(INS.rename) 69