1732N/A# The contents of this file are subject to the terms of the 1732N/A# Common Development and Distribution License (the "License"). 1732N/A# You may not use this file except in compliance with the License. 1732N/A# See the License for the specific language governing permissions 1732N/A# and limitations under the License. 1732N/A# When distributing Covered Code, include this CDDL HEADER in each 1732N/A# If applicable, add the following below this CDDL HEADER, with the 1732N/A# fields enclosed by brackets "[]" replaced with your own identifying 1732N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5680N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. 2095N/A# Adjust the .so line in the libssh2_sftp_fstatvfs man page to correctly find 2095N/A# the file it references (as we place it in the man3ssh2 section on Solaris). 5806N/A# Needed for "gmake test" to work successfully. 5806N/A# If SHELLOPTS is exported (as it is by the userland makefiles), 5806N/A# then all shell options get exported to child invocations of bash, 5806N/A# which results in test failures due to nounset and xtrace being 5806N/A# set unexpectedly, and errors such as "$1: unbound variable" and 5806N/A# diffs failing due to script tracing in output files. 3643N/A# Master test results are the same for both 32-bit and 64-bit, so override 3643N/A# here, rather than create multiple identical master files. 3643N/A# The additional libssh2 specific set of transforms to be applied to the 3643N/A# test results to try to normalize them. 3854N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
4578N/A '-e "s|^.*make.*$$|XXX_CC_XXX|g" ' \
4578N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4578N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
4578N/A# Just run "gmake check" from the tests directory. 4578N/A# Adjust how the simple test program is built. 4578N/A $(GSED) -e
"s|^simple_DEPENDENCIES.*$$|simple_DEPENDENCIES =|" \
4578N/A -e
"s|^LDADD.*$$|LDADD = -lssh2|" \