t: use configured TAR instead of tar
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Sat, 22 May 2021 07:10:08 +0000 (14:10 +0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 22 May 2021 09:01:57 +0000 (18:01 +0900)
commit5317dfeaed30fbe647899ece261e3dd40e5ced1f
tree925db2bad983c545bdb157f4f099f7b26c46320a
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7
t: use configured TAR instead of tar

Despite that tar is available everywhere, it's not required by POSIX.

In our build system, users are allowed to specify which tar to be used
in Makefile knobs. Furthermore, GNU tar (gtar) is prefered when autotools
is being used.

In our testsuite, 7 out of 9 tar-required-tests use "$TAR", the other
two use "tar".

Let's change the remaining two tests to "$TAR".

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3513-revert-submodule.sh
t/t6041-bisect-submodule.sh