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/acl/nontrivial
  20 
  21 PROGS = cleanup \
  22         setup \
  23         zfs_acl_aclmode_restricted_001_neg \
  24         zfs_acl_chmod_001_neg \
  25         zfs_acl_chmod_002_pos \
  26         zfs_acl_chmod_aclmode_001_pos \
  27         zfs_acl_chmod_compact_001_pos \
  28         zfs_acl_chmod_delete_001_pos \
  29         zfs_acl_chmod_inherit_001_pos \
  30         zfs_acl_chmod_inherit_002_neg \
  31         zfs_acl_chmod_inherit_002_pos \
  32         zfs_acl_chmod_inherit_003_pos \
  33         zfs_acl_chmod_inherit_004_pos \
  34         zfs_acl_chmod_owner_001_pos \
  35         zfs_acl_chmod_rwacl_001_pos \
  36         zfs_acl_chmod_rwx_001_pos \
  37         zfs_acl_chmod_rwx_002_pos \
  38         zfs_acl_chmod_rwx_003_pos \
  39         zfs_acl_chmod_rwx_004_pos \
  40         zfs_acl_chmod_xattr_001_pos \
  41         zfs_acl_chmod_xattr_002_pos \
  42         zfs_acl_cp_001_pos \
  43         zfs_acl_cp_002_pos \
  44         zfs_acl_cpio_001_pos \
  45         zfs_acl_cpio_002_pos \
  46         zfs_acl_find_001_pos \
  47         zfs_acl_ls_001_pos \
  48         zfs_acl_mv_001_pos \
  49         zfs_acl_tar_001_pos \
  50         zfs_acl_tar_002_pos
  51 
  52 CMDS = $(PROGS:%=$(TESTDIR)/%)
  53 $(CMDS) := FILEMODE = 0555
  54 
  55 all lint clean clobber:
  56 
  57 install: $(CMDS)
  58 
  59 $(CMDS): $(TESTDIR)
  60 
  61 $(TESTDIR):
  62         $(INS.dir)
  63 
  64 $(TESTDIR)/%: %.ksh
  65         $(INS.rename)