git: d940e9412148 - main - bmake: make opt-debug-x-trace broken on Linux

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 03:20:26 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=d940e9412148a06f28338d39ace0a38de16a8228

commit d940e9412148a06f28338d39ace0a38de16a8228
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-09 01:18:04 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-09 03:19:59 +0000

    bmake: make opt-debug-x-trace broken on Linux
    
    It fails during GitHub cross-build actions from Ubuntu 20.04.
    
    sjg investigated and found it is a dash bug; a more extensive change
    to handle this case will come in the next bmake update.
    
    Reviewed by:    sjg
    Differential Revision:  https://reviews.freebsd.org/D34219
---
 contrib/bmake/unit-tests/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/bmake/unit-tests/Makefile b/contrib/bmake/unit-tests/Makefile
index 2a300133eccc..537525d879b2 100644
--- a/contrib/bmake/unit-tests/Makefile
+++ b/contrib/bmake/unit-tests/Makefile
@@ -441,6 +441,9 @@ TESTS+=		varquote
 .if ${.SHELL:T} == "ksh"
 BROKEN_TESTS+= sh-flags
 .endif
+.if ${.MAKE.OS} == "Linux"
+BROKEN_TESTS+= opt-debug-x-trace
+.endif
 .if ${.MAKE.OS:NDarwin} == ""
 BROKEN_TESTS+= shell-ksh
 .endif