#
# 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
#
#
#
# Needed to get tests/header_test.c to compile successfully on SPARC.
# Need to use GNU sed otherwise we get a:
# Error : sfversion <version> and PACKAGE_VERSION <version> don't match."
# failure from the test_wrapper.sh script.
'-e "s|\(^SunOS\).*|\1|" ' \
'-e "s|^.* CC .*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.* CXX .*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.* CCLD .*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.* CXXLD .*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*source=.*libtool=no.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*DEPDIR=.deps.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^config.status: .*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*common.h:.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*test_strncpy_crlf.c:.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*In file included.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*psf_strlcpy_crlf (.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*\^.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*argument:.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*prototype:.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*warning:.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^make.*: Nothing to be.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
'-e "/^XXX_REMOVE_XXX$$/d" '