80N/A# The contents of this file are subject to the terms of the 80N/A# Common Development and Distribution License (the "License"). 80N/A# You may not use this file except in compliance with the License. 80N/A# See the License for the specific language governing permissions 80N/A# and limitations under the License. 80N/A# When distributing Covered Code, include this CDDL HEADER in each 80N/A# If applicable, add the following below this CDDL HEADER, with the 80N/A# fields enclosed by brackets "[]" replaced with your own identifying 80N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5389N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 1462N/A# Needed for "gmake test" to work. 1462N/A# causing the braceexpand option to be set. 1462N/A# This option causes "$1: unbound variable" errors during the check-TESTS, 1462N/A# and the gnulib-tests don't even run at all. 1462N/A# Note that the below unexports SHELLOPTS, even for targets 4793N/A# Test transforms retain only relevant results output. 4793N/A# Putting GNU on path first prevents some tests from being skipped, 4793N/A# which also keeps the test and system-test results consistent. 4793N/A# With the test target, the path to the just-built commands is 4793N/A# prepended to PATH. With the system-test target, we patch 4793N/A# to prevent the PATH from being prepended. 4793N/A# installed on the test system. If we patch, we must re-configure the 4793N/A# if we previously patched the source for the system-test target, 4793N/A# ensure we rebuild without that patch