Fix test case for some sed
Some versions of sed lack the "-i" option. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Johannes Schindelin committed
Mar 2, 2006 at 12:43 UTC
d5dddccaa0c61c67340efca36237dfa06eccef1c
1 file changed
+2
-1
t/t8001-annotate.sh
+2
-1
@@ -50,7 +50,8 @@ test_expect_success \
50
test_expect_success \
51
'merge-setup part 2' \
52
'git checkout -b branch2 master &&
53
- sed -i -e "s/2A quick brown/4A quick brown lazy dog/" file &&
53
+ sed -e "s/2A quick brown/4A quick brown lazy dog/" < file > file.new &&
54
+ mv file.new file &&
55
GIT_AUTHOR_NAME="B2" git commit -a -m "Branch2-1"'
56
57
test_expect_success \