1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright (c) 2012, 2015 by Delphix. All rights reserved.
25# Copyright 2020 Joyent, Inc.
26#
27
28set name=pkg.fmri value=pkg:/system/file-system/zfs/tests@$(PKGVERS)
29set name=pkg.summary value="ZFS unbundled utilities"
30set name=pkg.description value="ZFS test commands"
31set name=info.classification \
32    value=org.opensolaris.category.2008:Development/System
33set name=variant.arch value=$(ARCH)
34dir  path=kernel group=sys
35dir  path=kernel/drv group=sys
36dir  path=kernel/drv/$(ARCH64) group=sys
37file path=kernel/drv/$(ARCH64)/zut group=sys
38file path=kernel/drv/zut.conf group=sys
39dir  path=usr group=sys
40dir  path=usr/bin
41dir  path=usr/bin/$(ARCH64)
42file path=usr/bin/raidz_test mode=0555
43file path=usr/bin/zlook mode=0555
44file path=usr/bin/zloop mode=0555
45file path=usr/bin/ztest mode=0555
46dir  path=usr/include
47dir  path=usr/include/sys
48dir  path=usr/include/sys/fs
49file path=usr/include/sys/fs/zut.h
50dir  path=usr/lib
51dir  path=usr/lib/devfsadm group=sys
52dir  path=usr/lib/devfsadm/linkmod group=sys
53file path=usr/lib/devfsadm/linkmod/SUNW_zut_link.so group=sys
54dir  path=usr/sbin
55dir  path=usr/sbin/$(ARCH64)
56file path=usr/sbin/zhack mode=0555
57file path=usr/sbin/zinject mode=0555
58driver name=zut perms="* 0666 root sys"
59legacy pkg=SUNWonzfs desc="ZFS test commands" name="ZFS unbundled utilities"
60legacy pkg=SUNWonzfsr desc="ZFS test driver" name="ZFS unbundled driver"
61license cr_Sun license=cr_Sun
62license lic_CDDL license=lic_CDDL
63