From: Robin Rosenberg Date: Fri, 22 Sep 2006 22:35:20 +0000 (+0200) Subject: Quote arguments to tr in test-lib X-Git-Tag: v1.4.3-rc1~51 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d5c0cc9387b35df47c988fbc0e4379e413d783e;p=git.git Quote arguments to tr in test-lib When there are single-character filenames in the test directory, the shell tries to expand regexps meant for tr. Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib.sh b/t/test-lib.sh index e2629339d..e75ad5faa 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -34,7 +34,7 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME export EDITOR VISUAL -case $(echo $GIT_TRACE |tr [A-Z] [a-z]) in +case $(echo $GIT_TRACE |tr "[A-Z]" "[a-z]") in 1|2|true) echo "* warning: Some tests will not work if GIT_TRACE" \ "is set as to trace on STDERR ! *"