Skip to content

Commit

Permalink
[PATCH] A test case addition for strbuf regression
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed May 19, 2005
1 parent 9dc527a commit 2194925
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions t/t4000-diff-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2194925

Please sign in to comment.