]> git.ipfire.org Git - thirdparty/git.git/commit
t/t3437: remove the dependency of 'expected-message' file from tests
authorCharvi Mendiratta <charvi077@gmail.com>
Wed, 10 Feb 2021 11:36:46 +0000 (17:06 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2021 21:58:19 +0000 (13:58 -0800)
commit733ad2e15a5f078543fb0a5a10ee8ae5419d318e
treef6932e4a747eeffe1b1a12ed5507e7237bcad96c
parent17665167bb548b7c46e207890edbec7feba054bb
t/t3437: remove the dependency of 'expected-message' file from tests

As it is currently implemented, it's too difficult to follow along and
remember the value of "expected-message" from test to test. It also
makes it difficult to extend tests or add new tests in between existing
tests without negatively impacting other tests.

Let's set up "expected-message" to the precise content needed by the
test, so that both the problems go away and also makes easier to run
tests selectively with '--run' or 'GIT_SKIP_TESTS'

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Charvi Mendiratta <charvi077@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3437-rebase-fixup-options.sh