xref: /illumos-gate/usr/src/lib/fm/libdiagcode/common/tests/SAMPLE1.dict (revision 5e989a96186a37eb528fb7bb4d28a150874ec799)
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#pragma ident	"%Z%%M%	%I%	%E% SMI"
26#
27#
28# SAMPLE1 diagcode dictionary -- used by "make test" target only
29#
30# this sample dictionary tests code type 1.
31#
32# minor versioning check, foo=bar should be ignored
33FMDICT: name=SAMPLE1 version=1 bits=30 maxkey=20 foo=bar
34#
35fault.z.one=2097150
36fault.y.two=2097151
37fault.y.two fault.z.one=2097152
38fault.x.three=0x200001
39fault.x.three fault.y.two=274880004090
40fault.x.three fault.y.two fault.z.one=1928
41fault.x.three fault.z.one=2
42#
43#TEST:open:0
44#TEST:codelen:0:32
45#TEST:maxkey:0:21
46#TEST:key2code:0:fault.z.one:SAMPLE1-9YYY-X6
47#TEST:key2code:0:fault.y.two:SAMPLE1-9YYY-YT
48#TEST:key2code:0:fault.x.three:SAMPLE1-A000-0000-FJ
49#TEST:key2code:0:fault.x.three fault.y.two:SAMPLE1-CYYY-YYYX-M4
50#TEST:key2code:0:fault.x.three fault.y.two fault.z.one:SAMPLE1-801V-89
51#TEST:key2code:0:fault.x.three fault.z.one fault.z.one:SAMPLE1-8000-2Q
52#TEST:getprop:0:foo:bar
53#TEST:code2key:0:SAMPLE1-9YYY-X6:fault.z.one
54#TEST:code2key:0:SAMPLE1-9YYY-YT:fault.y.two
55#TEST:code2key:0:SAMPLE1-A000-0000-FJ:fault.x.three
56#TEST:code2key:0:SAMPLE1-CYYY-YYYX-M4:fault.x.three fault.y.two
57#TEST:code2key:0:SAMPLE1-801V-89:fault.x.three fault.y.two fault.z.one
58#TEST:code2key:0:SAMPLE1-8000-2Q:fault.x.three fault.z.one
59#
60