From: Ralf Wildenhues Date: Sun, 14 Nov 2010 17:22:50 +0000 (+0100) Subject: tests: work around dash quoting issue in case statements. X-Git-Tag: v1.12.0b~442 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4d75f3e54949a6862e593d56a5de74ed1510801;p=platform%2Fupstream%2Fautomake.git tests: work around dash quoting issue in case statements. * tests/color.test, tests/color2.test: Quote variable in case pattern, to avoid skipping tests with dash 0.5.5.1. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 7595f3b..77e12ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-11-14 Ralf Wildenhues + tests: work around dash quoting issue in case statements. + * tests/color.test, tests/color2.test: Quote variable in case + pattern, to avoid skipping tests with dash 0.5.5.1. + +2010-11-14 Ralf Wildenhues + Rebuild menus in the manual. * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs). Thanks to Ian Lance Taylor for the suggestion. diff --git a/tests/color.test b/tests/color.test index 9d86785..c1032fd 100755 --- a/tests/color.test +++ b/tests/color.test @@ -34,7 +34,7 @@ std='' # BSD 'grep' works from a pipe, but not a seekable file. # GNU or BSD 'grep -a' works on files, but is not portable. case `echo "$std" | grep .` in - $std) ;; + "$std") ;; *) echo "$me: grep can't parse nonprinting characters" >&2; Exit 77;; esac diff --git a/tests/color2.test b/tests/color2.test index eedd37d..306aa04 100755 --- a/tests/color2.test +++ b/tests/color2.test @@ -34,7 +34,7 @@ std='' # BSD 'grep' works from a pipe, but not a seekable file. # GNU or BSD 'grep -a' works on files, but is not portable. case `echo "$std" | grep .` in - $std) ;; + "$std") ;; *) echo "$me: grep can't parse nonprinting characters" >&2; Exit 77;; esac