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 2025 Oxide Computer Company 14# Copyright 2024 Ryan Zezeski 15# 16 17<include global_zone_only_component> 18set name=pkg.fmri value=pkg:/driver/ktest@$(PKGVERS) 19set name=pkg.summary value="Kernel Test Driver" 20set name=pkg.description value="Kernel Test Driver" 21set name=info.classification \ 22 value=org.opensolaris.category.2008:Development/System 23set name=variant.arch value=$(ARCH) 24dir path=kernel group=sys 25dir path=kernel/drv group=sys 26dir path=kernel/drv/$(ARCH64) group=sys 27file path=kernel/drv/$(ARCH64)/ktest group=sys mode=0755 28file path=kernel/drv/ktest.conf group=sys 29dir path=usr/bin 30file path=usr/bin/ktest mode=0555 31dir path=usr/include 32file path=usr/include/libktest.h mode=0644 33dir path=usr/include/sys 34file path=usr/include/sys/ktest.h mode=0644 35dir path=usr/kernel/misc group=sys 36dir path=usr/kernel/misc/ktest group=sys 37dir path=usr/kernel/misc/ktest/$(ARCH64) group=sys 38$(i386_ONLY)file path=usr/kernel/misc/ktest/$(ARCH64)/i86pc_ktest group=sys \ 39 mode=0755 40file path=usr/kernel/misc/ktest/$(ARCH64)/ktest_ktest group=sys mode=0755 41file path=usr/kernel/misc/ktest/$(ARCH64)/mac_ktest group=sys mode=0755 42file path=usr/kernel/misc/ktest/$(ARCH64)/stream_ktest group=sys mode=0755 43dir path=usr/lib 44dir path=usr/lib/$(ARCH64) 45# Although ktest (and thus libktest) is only usable from the global zone, there 46# are package dependants which are marked for use from the non-global zone which 47# would go unfulfilled if the library was not also available. 48link path=usr/lib/$(ARCH64)/libktest.so target=libktest.so.1 \ 49 variant.opensolaris.zone=__NODEFAULT 50file path=usr/lib/$(ARCH64)/libktest.so.1 variant.opensolaris.zone=__NODEFAULT 51dir path=usr/lib/devfsadm group=sys 52dir path=usr/lib/devfsadm/linkmod group=sys 53dir path=usr/share/man 54dir path=usr/share/man/man8 55file path=usr/share/man/man8/ktest.8 56dir path=usr/share/man/man9 57file path=usr/share/man/man9/ktest.9 58dir path=usr/share/man/man9f 59link path=usr/share/man/man9f/KT_ASSERT.9f target=ktest_result_pass.9f 60link path=usr/share/man/man9f/KT_ASSERT0.9f target=ktest_result_pass.9f 61link path=usr/share/man/man9f/KT_ASSERT0G.9f target=ktest_result_pass.9f 62link path=usr/share/man/man9f/KT_ASSERT3P.9f target=ktest_result_pass.9f 63link path=usr/share/man/man9f/KT_ASSERT3PG.9f target=ktest_result_pass.9f 64link path=usr/share/man/man9f/KT_ASSERT3S.9f target=ktest_result_pass.9f 65link path=usr/share/man/man9f/KT_ASSERT3SG.9f target=ktest_result_pass.9f 66link path=usr/share/man/man9f/KT_ASSERT3U.9f target=ktest_result_pass.9f 67link path=usr/share/man/man9f/KT_ASSERT3UG.9f target=ktest_result_pass.9f 68link path=usr/share/man/man9f/KT_ASSERTG.9f target=ktest_result_pass.9f 69link path=usr/share/man/man9f/KT_ERROR.9f target=ktest_result_pass.9f 70link path=usr/share/man/man9f/KT_FAIL.9f target=ktest_result_pass.9f 71link path=usr/share/man/man9f/KT_PASS.9f target=ktest_result_pass.9f 72link path=usr/share/man/man9f/KT_SKIP.9f target=ktest_result_pass.9f 73link path=usr/share/man/man9f/ktest_add_suite.9f target=ktest_create_module.9f 74link path=usr/share/man/man9f/ktest_add_test.9f target=ktest_create_module.9f 75file path=usr/share/man/man9f/ktest_create_module.9f 76link path=usr/share/man/man9f/ktest_free_module.9f target=ktest_create_module.9f 77file path=usr/share/man/man9f/ktest_get_fn.9f 78file path=usr/share/man/man9f/ktest_get_input.9f 79link path=usr/share/man/man9f/ktest_hold_mod.9f target=ktest_get_fn.9f 80link path=usr/share/man/man9f/ktest_msg_clear.9f target=ktest_result_pass.9f 81link path=usr/share/man/man9f/ktest_msg_prepend.9f target=ktest_result_pass.9f 82link path=usr/share/man/man9f/ktest_register_module.9f \ 83 target=ktest_create_module.9f 84link path=usr/share/man/man9f/ktest_release_mod.9f target=ktest_get_fn.9f 85link path=usr/share/man/man9f/ktest_result_error.9f target=ktest_result_pass.9f 86link path=usr/share/man/man9f/ktest_result_fail.9f target=ktest_result_pass.9f 87file path=usr/share/man/man9f/ktest_result_pass.9f 88link path=usr/share/man/man9f/ktest_result_skip.9f target=ktest_result_pass.9f 89link path=usr/share/man/man9f/ktest_unregister_module.9f \ 90 target=ktest_create_module.9f 91driver name=ktest 92license lic_CDDL license=lic_CDDL 93