]> git.ipfire.org Git - thirdparty/git.git/commit
scalar-clone: add test coverage
authorVictoria Dye <vdye@github.com>
Fri, 2 Sep 2022 15:56:47 +0000 (15:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2022 17:02:56 +0000 (10:02 -0700)
commit14b4e7e5a455b771f9dee74a5b4eb9a10f2a1cd4
tree2030887a3727a54b770ca516e3efba8208dab598
parentcc75e556a9de5d62c1ca52db900b729fc830f378
scalar-clone: add test coverage

Create a new test file ('t9211-scalar-clone.sh') to exercise the options and
behavior of the 'scalar clone' command. Each test clones to a unique target
location and cleans up the cloned repo only when the test passes. This
ensures that failed tests' artifacts are captured in CI artifacts for
further debugging.

Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9211-scalar-clone.sh [new file with mode: 0755]