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