diff options
author | Stephen Boyd <bebarino@gmail.com> | 2009-05-25 23:17:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-27 00:06:12 -0700 |
commit | 3902985a58d5b5f42406f11f1c8b9b87a98c7e3c (patch) | |
tree | 74982df512070ad02df0a2bbb94b8904050508a0 /t/t7004/pubring.gpg | |
parent | completion: fix PS1 display during an AM on detached HEAD (diff) | |
download | tgif-3902985a58d5b5f42406f11f1c8b9b87a98c7e3c.tar.xz |
t5500: Modernize test style
Code outside of the test harness was emitting "Initializing..." from
git-init. Fixup this test to be more modern:
- test_expect_object_count() and count_objects() are unused
- use grep directly instead of test "..." = $(grep ...)
- end the test_expect_success line with a single-quote and put the
test on a new line
- put as much code inside the test harness as possible
- no_strict_count_check is unused and duplicates the test
"new object count"
- use && whenever possible to catch errors early
- use test_tick instead of GIT_AUTHOR_DATE=$sec
- remove debugging aid log.txt
- use subshells instead of cd-ing around
Also merge the pull test into one large test.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7004/pubring.gpg')
0 files changed, 0 insertions, 0 deletions