diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-06-13 11:22:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-13 11:22:09 -0700 |
commit | 004ae6cbd01fce6968baa99ecac775e9f4153bca (patch) | |
tree | fa89f7b632bb5633631663af4015a6777fd6007e /t | |
parent | 9559910cac77526a95dd5dca93a2e3e6d290c5b9 (diff) | |
parent | 0adc6a3d49a46436780b2dd636918c9840d82236 (diff) | |
download | git-004ae6cbd01fce6968baa99ecac775e9f4153bca.tar.gz git-004ae6cbd01fce6968baa99ecac775e9f4153bca.tar.xz |
Merge branch 'jn/fsck-ident'
* jn/fsck-ident:
fsck: fix bogus commit header check
Diffstat (limited to 't')
-rwxr-xr-x | t/t1450-fsck.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh index 22a80c826..759cf12e1 100755 --- a/t/t1450-fsck.sh +++ b/t/t1450-fsck.sh @@ -5,7 +5,9 @@ test_description='git fsck random collection of tests' . ./test-lib.sh test_expect_success setup ' + git config i18n.commitencoding ISO-8859-1 && test_commit A fileA one && + git config --unset i18n.commitencoding && git checkout HEAD^0 && test_commit B fileB two && git tag -d A B && @@ -28,6 +30,12 @@ test_expect_success 'loose objects borrowed from alternate are not missing' ' ) ' +test_expect_success 'valid objects appear valid' ' + { git fsck 2>out; true; } && + ! grep error out && + ! grep fatal out +' + # Corruption tests follow. Make sure to remove all traces of the # specific corruption you test afterwards, lest a later test trip over # it. |