Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Riedy <ejr@EECS.Berkeley.EDU>2007-01-16 04:31:29 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-16 09:23:21 +0300
commit2aad957a519b354e248da8c76ee0d3997083dde6 (patch)
tree258b4f061def13b863c31d06e3a30114de413e1a /t/t3800-mktag.sh
parentfb9522062c89da61f5ccbaa1d063e0754463176f (diff)
Replace "echo -n" with printf in shell scripts.
Not all echos know -n. This was causing a test failure in t5401-update-hooks.sh, but not t3800-mktag.sh for some reason. Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3800-mktag.sh')
-rwxr-xr-xt/t3800-mktag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh
index 5b23b7769d..ede4d42495 100755
--- a/t/t3800-mktag.sh
+++ b/t/t3800-mktag.sh
@@ -88,7 +88,7 @@ check_verify_failure '"type" line label check'
# 5. type line eol check
echo "object 779e9b33986b1c2670fff52c5067603117b3e895" >tag.sig
-echo -n "type tagsssssssssssssssssssssssssssssss" >>tag.sig
+printf "type tagsssssssssssssssssssssssssssssss" >>tag.sig
cat >expect.pat <<EOF
^error: char48: .*"[\]n"$