4 Miscellaneous tests for git ls-tree.
6 1. git ls-tree fails in presence of tree damage.
12 test_expect_success
'setup' '
19 test_expect_success
'ls-tree fails with non-zero exit code on broken tree' '
20 tree=$(git rev-parse HEAD:a) &&
21 rm -f .git/objects/$(echo $tree | sed -e "s,^\(..\),\1/,") &&
22 test_must_fail git ls-tree -r HEAD