[openssh-commits] [openssh] 02/02: Pass awk detected by configure to regress tests.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Jun 1 17:42:04 AEST 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 2afcdf7b3e429428d9b6415e0c948001bf968477
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Mon Jun 1 17:40:03 2026 +1000
Pass awk detected by configure to regress tests.
Some platforms' basic awk don't have toupper, but other awks like nawk
or gawk do. Pass the one found by configure through to the regress
tests, and make a wrapper for it so we don't need to modify any tests.
---
Makefile.in | 1 +
regress/test-exec.sh | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/Makefile.in b/Makefile.in
index 4a676f325..730e598d0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -806,6 +806,7 @@ TEST_SSH_SSHD="$(BUILDDIR)/sshd"
interop-tests t-exec file-tests extra-tests: regress-prep regress-binaries $(TARGETS)
cd $(srcdir)/regress || exit $$?; \
+ AWK='@AWK@' \
EGREP='@EGREP@' \
OPENSSL_BIN='@OPENSSL_BIN@' \
$(MAKE) \
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 577bc01af..cb9836c98 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -79,6 +79,14 @@ if test "x${EGREP}" != "x"; then
}
fi
+# Likewise with awk.
+if test "x${AWK}" != "x"; then
+ awk ()
+{
+ ${AWK} "$@"
+}
+fi
+
SRC=`dirname ${SCRIPT}`
# defaults
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list