From: Johannes Schindelin Date: Thu, 2 Mar 2006 11:43:51 +0000 (+0100) Subject: Fix test case for some sed X-Git-Tag: v1.3.0-rc1~82 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d5dddccaa0c61c67340efca36237dfa06eccef1c;p=git.git Fix test case for some sed Some versions of sed lack the "-i" option. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh index cae17943..172908a5 100755 --- a/t/t8001-annotate.sh +++ b/t/t8001-annotate.sh @@ -50,7 +50,8 @@ test_expect_success \ test_expect_success \ 'merge-setup part 2' \ 'git checkout -b branch2 master && - sed -i -e "s/2A quick brown/4A quick brown lazy dog/" file && + sed -e "s/2A quick brown/4A quick brown lazy dog/" < file > file.new && + mv file.new file && GIT_AUTHOR_NAME="B2" git commit -a -m "Branch2-1"' test_expect_success \