t5305: move cleanup into test block
authorJeff King <peff@peff.net>
Mon, 5 Sep 2016 21:52:10 +0000 (17:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 18:45:26 +0000 (11:45 -0700)
commit1962d9fbe3feeb888053d0c648e39b82870c4ef3
tree0911b665941b90a7880d1e3c1e327b5097847064
parente0c1ceafc5bece92d35773a75fff59497e1d9bd5
t5305: move cleanup into test block

We usually try to avoid doing any significant actions
outside of test blocks. Although "rm -rf" is unlikely to
either fail or to generate output, moving these to the
point of use makes it more clear that they are part of the
overall setup of "clone.git".

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5305-include-tag.sh