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