Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] A test case addition for strbuf regression
author
Junio C Hamano
<junkio@cox.net>
Thu, 19 May 2005 06:55:07 +0000
(23:55 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 19 May 2005 14:42:07 +0000
(07:42 -0700)
This test would have caught the strbuf eof condition gotcha,
hopefully fixed with my previous patch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
t/t4000-diff-format.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9dc527a
)
diff --git
a/t/t4000-diff-format.sh
b/t/t4000-diff-format.sh
index 91ed2dc65c6d14276d3533942f902cdcf45de177..3accb14f00b8d1b9cdcee1ca8eac34bd8e82e8ac 100644
(file)
--- a/
t/t4000-diff-format.sh
+++ b/
t/t4000-diff-format.sh
@@
-50,4
+50,13
@@
test_expect_success \
'validate git-diff-files -p output.' \
'cmp -s current expected'
+test_expect_success \
+ 'build same diff using git-diff-helper.' \
+ 'git-diff-files -z | git-diff-helper -z >current'
+
+
+test_expect_success \
+ 'validate git-diff-helper output.' \
+ 'cmp -s current expected'
+
test_done