#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
VERS = .1
include ../../../Makefile.lib
include ../../Makefile.lib
include ../../../Makefile.targ
include ../../Makefile.targ
#
# To ease the development and maintenance of libfmd_msg, a test suite is built
# directly into the library. The test program fmd_msg_test.c includes a set of
# tests for all the code paths in the library. The test program executes the
# calls, and then forks into the background and dumps core. After the test
# runs, we diff the output against the master hand-verified output, and confirm
# no leaks or corruption exist. To run the entire suite, type "make test" and
# inspect the results (the make target will fail on an error).
#
# The cmp skips the first 900 bytes of $(SRCDIR)/fmd_msg_test.out to get us
# passed the CDDL header and copyright in that file.
#
test: install fmd_msg_test
@echo; echo "Checking test output ... \c"
@echo