tests: modernise style: more uses of test_line_count
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 11 Apr 2012 11:24:01 +0000 (13:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Apr 2012 16:32:20 +0000 (09:32 -0700)
commit3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4
treeb8e4ab3fc39f64973168b4656c57d2874e1abdaf
parente8dde3e5f9ddb7cf95a6ff3cea6cf07c3a2db80d
tests: modernise style: more uses of test_line_count

Prefer:

  test_line_count <OP> COUNT FILE

over:

  test $(wc -l <FILE) <OP> COUNT

(or similar usages) in several tests.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 files changed:
t/t1410-reflog.sh
t/t2004-checkout-cache-temp.sh
t/t2030-unresolve-info.sh
t/t3415-rebase-autosquash.sh
t/t3900-i18n-commit.sh
t/t4035-diff-quiet.sh
t/t5100-mailinfo.sh
t/t5700-clone-reference.sh
t/t5710-info-alternate.sh
t/t6006-rev-list-format.sh
t/t6030-bisect-porcelain.sh
t/t6032-merge-large-rename.sh
t/t6042-merge-rename-corner-cases.sh
t/t7201-co.sh
t/t7400-submodule-basic.sh
t/t7408-submodule-reference.sh
t/t7502-commit.sh
t/t9350-fast-export.sh
t/t9400-git-cvsserver-server.sh