xref: /illumos-gate/usr/src/lib/fm/libdiagcode/common/tests/BADMAXKEY.dict (revision 7a6d80f1660abd4755c68cbd094d4a914681d26e)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25# BADMAXKEY diagcode dictionary -- used by "make test" target only
26#
27# this sample dictionary tests the error path where the dictionary
28# contains keys that do not fit into the maxkey given in the header.
29#
30FMDICT: name=BADMAXKEY version=1 maxkey=2
31#
32fault.two=6
33fault.one fault.two=5
34fault.three=4
35fault.one fault.three fault.two=3
36fault.one fault.three=1
37#
38#TEST:open:0
39#TEST:key2code:0:fault.one fault.three fault.two:BADMAXKEY-8000-30
40#TEST:code2key:ENOMEM:BADMAXKEY-8000-30
41#
42