projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c7d2cf
)
Quote arguments to tr in test-lib
author
Robin Rosenberg
<robin.rosenberg@dewire.com>
Fri, 22 Sep 2006 22:35:20 +0000
(
00:35
+0200)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 23 Sep 2006 00:00:36 +0000
(17:00 -0700)
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 <junkio@cox.net>
t/test-lib.sh
patch
|
blob
|
history
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index e2629339d4b1c9acf8cdf002f8ac59ef736eacf3..e75ad5faace6e40e7f6f3f47e9be90b0e9c4691e 100755
(executable)
--- 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 ! *"