Subject: Re: bug#14891: GNU Automake 1.14 FAIL: 5

From: Stefano Lattarini <[email-masked]>
Date: Sun, 21 Jul 2013 17:23:37 +0100

Reference:
<>

On 07/17/2013 01:47 PM, Dennis Clarke wrote:
> 
> FAIL: t/test-extensions.sh
>
Please try the patch below for this, and let me know if it
fixes this spurious failure.

Thanks,
  Stefano

---- 8< ---- 8< ---- 8< --- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----

>From 9ac9b2ceef705596cdf77501ea2669f17d1f280e Mon Sep 17 00:00:00 2001
Message-Id: <9ac9b2cee[email-masked]>
From: Stefano Lattarini <[email-masked]>
Date: Sun, 21 Jul 2013 17:15:38 +0100
Subject: [PATCH] tests: avoid use of intervals to capitalize letters

It was causing spurious failures with with Solaris 8 'tr'.
See automake bug#14891.

* t/test-extensions.sh: Adjust.

Signed-off-by: Stefano Lattarini <[email-masked]>
---
 t/test-extensions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/test-extensions.sh b/t/test-extensions.sh
index 0700991..ca7c5ec 100644
--- a/t/test-extensions.sh
+++ b/t/test-extensions.sh
@@ -39,7 +39,7 @@ $AUTOMAKE -a
 grep -i 'log' Makefile.in # For debugging.

 for lc in $valid_extensions; do
-  uc=$(echo $lc | tr '[a-z]' '[A-Z]')
+  uc=$(echo $lc | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ)
   $FGREP "\$(${uc}_LOG_COMPILER)" Makefile.in
   grep "^${uc}_LOG_COMPILE =" Makefile.in
   grep "^\.${lc}\.log:" Makefile.in
-- 
1.8.3.1.605.g85318f5