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/zpool_import 20 21PROGS = cleanup \ 22 setup \ 23 zpool_import_001_pos \ 24 zpool_import_002_pos \ 25 zpool_import_003_pos \ 26 zpool_import_004_pos \ 27 zpool_import_005_pos \ 28 zpool_import_006_pos \ 29 zpool_import_007_pos \ 30 zpool_import_008_pos \ 31 zpool_import_009_neg \ 32 zpool_import_010_pos \ 33 zpool_import_011_neg \ 34 zpool_import_012_pos \ 35 zpool_import_013_neg \ 36 zpool_import_all_001_pos \ 37 zpool_import_features_001_pos \ 38 zpool_import_features_002_neg \ 39 zpool_import_features_003_pos \ 40 zpool_import_missing_001_pos \ 41 zpool_import_missing_002_pos \ 42 zpool_import_missing_003_pos \ 43 zpool_import_rename_001_pos 44 45FILES = zpool_import.cfg 46 47CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%) 48$(CMDS) := FILEMODE = 0555 49 50all lint clean clobber: 51 52install: $(CMDS) 53 54$(CMDS): $(TESTDIR) 55 56$(TESTDIR): 57 $(INS.dir) 58 59$(TESTDIR)/%: % 60 $(INS.file) 61 62$(TESTDIR)/%: %.ksh 63 $(INS.rename) 64 65SUBDIRS = blockfiles 66 67include $(SRC)/test/Makefile.com 68