t5600: modernize style
authorJeff King <peff@peff.net>
Tue, 2 Jan 2018 21:09:00 +0000 (16:09 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Jan 2018 21:33:03 +0000 (13:33 -0800)
commit8486b84f0ea4d7f943fdbe81050553d69d198742
treea22d2c9bd4525e7c4f5146c567867574f530fd57
parenta4c4efd25159a8b308f9e204bc87e37b963bc2ae
t5600: modernize style

This is an old script which could use some updating before
we add to it:

  - use the standard line-breaking:

      test_expect_success 'title' '
              body
      '

  - run all code inside test_expect blocks to catch
    unexpected failures in setup steps

  - use "test_commit -C" instead of manually entering
    sub-repo

  - use test_when_finished for cleanup steps

  - test_path_is_* as appropriate

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5600-clone-fail-cleanup.sh