diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-04-12 13:33:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-12 14:10:51 -0700 |
commit | 4f4d2017a370bdee57059d9454d4e1aca0741231 (patch) | |
tree | 96d3ae6651b43920b22b6dba90f242a44b2a29d2 /run-command.h | |
parent | svn tests: remove legacy re-setup from init-clone test (diff) | |
download | tgif-4f4d2017a370bdee57059d9454d4e1aca0741231.tar.xz |
svn tests: refactor away a "set -e" in test body
Refactor a test added in 83c9433e67 (git-svn: support for git-svn
propset, 2014-12-07) to avoid using "set -e" in the test body. Let's
move this into a setup test using "test_expect_success" instead.
While I'm at it refactor:
* Repeated "mkdir" to "mkdir -p"
* Uses of "touch" to creating the files with ">" instead
* The "rm -rf" at the end to happen in a "test_when_finished"
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.h')
0 files changed, 0 insertions, 0 deletions