On 23/01/2026 18:26, Bruno Haible wrote:
On Alpine Linux 3.14, 3.18, 3.20, I see one test failure:FAIL: tests/misc/usage_vs_refs
That looks to be due to inadequate escaping within a regex. Addressed in the attached. thanks, Padraig
From e8f5f7af97594fa0a4dcff45e056a63f9b2eb297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= <[email protected]> Date: Fri, 23 Jan 2026 19:19:59 +0000 Subject: [PATCH] tests: usage_vs_refs.sh: fix false failure with Alpine * tests/misc/usage_vs_refs.sh: Fix missing escape on literal {. Reported by Bruno Haible. --- tests/misc/usage_vs_refs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/usage_vs_refs.sh b/tests/misc/usage_vs_refs.sh index ebb132a68..6e5a43f21 100755 --- a/tests/misc/usage_vs_refs.sh +++ b/tests/misc/usage_vs_refs.sh @@ -53,7 +53,7 @@ for prg in $built_programs; do got_option=false for opt in $(getopts $prg); do got_option=true - if ! grep -E "opt(Itemx?|Anchor){$dprg,$opt[,}]" \ + if ! grep -E "opt(Itemx?|Anchor)\\{$dprg,$opt[,}]" \ "$abs_top_srcdir/doc/coreutils.texi" >/dev/null; then if ! grep "optItemx\\?{\\\\cmd\\\\,$opt," \ "$abs_top_srcdir/doc/coreutils.texi" >/dev/null; then -- 2.52.0
