Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-t1450-fsck-order-fix'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 8 Oct 2012 18:43:10 +0000
(11:43 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 8 Oct 2012 18:43:10 +0000
(11:43 -0700)
The fsck test assumed too much on what kind of error it will
detect. The only important thing is the inconsistency is detected
as an error.
* jc/maint-t1450-fsck-order-fix:
t1450: the order the objects are checked is undefined
t/t1450-fsck.sh
patch
|
blob
|
history
raw
(from parent 1:
683a820
)
diff --git
a/t/t1450-fsck.sh
b/t/t1450-fsck.sh
index bf7a2cd6fb649e3b210b537d4d25312ba2921f16..08aa24ca15a377826b9e1cdad73fb232853aea7f 100755
(executable)
--- a/
t/t1450-fsck.sh
+++ b/
t/t1450-fsck.sh
@@
-177,9
+177,7
@@
test_expect_success 'tag pointing to something else than its type' '
test_when_finished "remove_object $tag" &&
echo $tag >.git/refs/tags/wrong &&
test_when_finished "git update-ref -d refs/tags/wrong" &&
- test_must_fail git fsck --tags 2>out &&
- cat out &&
- grep "error in tag.*broken links" out
+ test_must_fail git fsck --tags
'
test_expect_success 'cleaned up' '