]> git.ipfire.org Git - thirdparty/git.git/commit - t/test-lib-functions.sh
test-lib: rearrange start/end of test_expect_* and test_skip
authorThomas Rast <trast@inf.ethz.ch>
Tue, 18 Jun 2013 12:25:59 +0000 (14:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jun 2013 18:15:14 +0000 (11:15 -0700)
commitae75342cff145a326b2213128cca453023521400
tree4235f2eb876f45b0d4af9a1c0af8e8171d717018
parente6a6ddc93a89862319c7876536d79d6d3538de5a
test-lib: rearrange start/end of test_expect_* and test_skip

This moves

* the early setup part from test_skip to a new function test_start_

* the final common parts of test_expect_* to a new function
  test_finish_

to make the next commit more obvious.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib-functions.sh
t/test-lib.sh