Git development
 help / color / mirror / Atom feed
* Fix t4201: accidental arithmetic expansion
@ 2007-04-13 20:13 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2007-04-13 20:13 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

instead of embedded subshell. It actually breaks here (dash as /bin/sh):

t4201-shortlog.sh: 27: Syntax error: Missing '))'
FATAL: Unexpected exit with code 2

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
 t/t4201-shortlog.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh
index 321429c..c27e39c 100644
--- a/t/t4201-shortlog.sh
+++ b/t/t4201-shortlog.sh
@@ -11,7 +11,7 @@ test_description='git-shortlog
 echo 1 > a1
 git add a1
 tree=$(git write-tree)
-commit=$((echo "Test"; echo) | git commit-tree $tree)
+commit=$( (echo "Test"; echo) | git commit-tree $tree )
 git update-ref HEAD $commit
 
 echo 2 > a1
-- 
1.5.1.130.g0ea6d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-13 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-13 20:13 Fix t4201: accidental arithmetic expansion Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox