7614 zfs device evacuation/removal
[unleashed.git] / usr / src / test / zfs-tests / tests / functional / removal / Makefile
blobb4b9fa0031b9f6d07a6e3f3a85da4ad2026e96b7
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) 2014, 2017 by Delphix. All rights reserved.
16 include $(SRC)/Makefile.master
18 ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 TESTDIR = $(ROOTOPTPKG)/tests/functional/removal
21 PROGS = cleanup \
22 removal_all_vdev \
23 removal_check_space \
24 removal_condense_export \
25 removal_multiple_indirection \
26 removal_remap \
27 removal_reservation \
28 removal_sanity \
29 removal_remap_deadlists \
30 removal_with_add \
31 removal_with_create_fs \
32 removal_with_dedup \
33 removal_with_export \
34 removal_with_ganging \
35 removal_with_remap \
36 removal_with_remove \
37 removal_with_scrub \
38 removal_with_send \
39 removal_with_send_recv \
40 removal_with_snapshot \
41 removal_with_write \
42 removal_with_zdb \
43 removal_resume_export \
44 remove_mirror \
45 remove_mirror_sanity \
46 remove_raidz
48 FILES = removal.kshlib
50 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
51 $(CMDS) := FILEMODE = 0555
53 all lint clean clobber:
55 install: $(CMDS)
57 $(CMDS): $(TESTDIR)
59 $(TESTDIR):
60 $(INS.dir)
62 $(TESTDIR)/%: %.ksh
63 $(INS.rename)
65 $(TESTDIR)/%: %
66 $(INS.file)