filter-trees: code clean-up of tests
commitd9e6d0942bb9f9fe9e4cca9670181e5b59074bcb
authorMatthew DeVore <matvore@google.com>
Fri, 12 Oct 2018 20:01:41 +0000 (12 13:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Oct 2018 03:43:17 +0000 (15 12:43 +0900)
treecabb90e34c49bc6207b10a510fd87857c716c736
parentbc5975d24f33c974d53b3d94c5697fadaec5b000
filter-trees: code clean-up of tests

A few trivial updates to test to match the current best practices.

 - avoid "grep -q" that strips potentially useful output from tests
   running under "-v".

 - use test_write_lines to prepare multi-line expected output file.

 - reserve use of test_must_fail to "git" commands.

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5317-pack-objects-filter-objects.sh
t/t5616-partial-clone.sh
t/t6112-rev-list-filters-objects.sh