diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-06-14 13:33:28 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-14 13:33:28 +0900 |
commit | c189dba20e6d94e4408bcc6ad298f0c157f05b43 (patch) | |
tree | 4cb3d1a1db0f954b8184cb4dd79383d44890fcc8 /t/t6041-bisect-submodule.sh | |
parent | Merge branch 'ps/rev-list-object-type-filter' (diff) | |
parent | t: use configured TAR instead of tar (diff) | |
download | tgif-c189dba20e6d94e4408bcc6ad298f0c157f05b43.tar.xz |
Merge branch 'dd/honor-users-tar-in-tests'
Test portability fix.
* dd/honor-users-tar-in-tests:
t: use configured TAR instead of tar
Diffstat (limited to 't/t6041-bisect-submodule.sh')
-rwxr-xr-x | t/t6041-bisect-submodule.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t6041-bisect-submodule.sh b/t/t6041-bisect-submodule.sh index df1eff0fb8..82013fc903 100755 --- a/t/t6041-bisect-submodule.sh +++ b/t/t6041-bisect-submodule.sh @@ -8,7 +8,7 @@ test_description='bisect can handle submodules' git_bisect () { git status -su >expect && ls -1pR * >>expect && - tar cf "$TRASH_DIRECTORY/tmp.tar" * && + "$TAR" cf "$TRASH_DIRECTORY/tmp.tar" * && GOOD=$(git rev-parse --verify HEAD) && may_only_be_test_must_fail "$2" && $2 git checkout "$1" && @@ -25,7 +25,7 @@ git_bisect () { git bisect start && git bisect good $GOOD && rm -rf * && - tar xf "$TRASH_DIRECTORY/tmp.tar" && + "$TAR" xf "$TRASH_DIRECTORY/tmp.tar" && git status -su >actual && ls -1pR * >>actual && test_cmp expect actual && |