t1200: cleanup and modernize test style
commit1a994dc3d258a1603752e0c472b072acc343a963
authorStephen Boyd <bebarino@gmail.com>
Thu, 5 Nov 2009 06:33:52 +0000 (4 22:33 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Nov 2009 06:44:34 +0000 (6 22:44 -0800)
tree67bfa868a0ec2386f772d049a2be4a48bff86386
parent1b52ac5935c3773596fa41f6cf83578ab86b6b83
t1200: cleanup and modernize test style

Many parts of the tests in t1200 are run outside the test harness,
circumventing the usefulness of -v and spewing messages to stdout when
-v isn't used. Fix these problems by modernizing the test a bit.

An extra test_done has existed since commit 6a74642 (git-commit --amend:
two fixes., 2006-04-20) leading to the last 6 tests never being run.
Remove it and teach the resolve merge test about fast-forward merges.
Also fix the last test's incorrect find command and prune before
checking for unpacked objects so we remove the unreachable conflict-marked
blob.

Finally, we remove the TODO notes, because fetch, push, and clone have
their own tests since t1200 was introduced and we're not going to add
them here 4 years later.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1200-tutorial.sh