From: Stefano Lattarini Date: Sun, 21 Jul 2013 16:15:38 +0000 (+0100) Subject: tests: avoid use of intervals to capitalize letters X-Git-Tag: v1.14.1~8^3~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=073b1fe85068620eb6c06432b1be13c40394a177;p=thirdparty%2Fautomake.git 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 --- diff --git a/t/test-extensions.sh b/t/test-extensions.sh index 070099171..ca7c5eccb 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