$OpenBSD: patch-t_test-lib_sh,v 1.28 2018/06/14 17:43:48 kn Exp $

Force usage of GNU tar in the test suite: 't5004-archive-corner-cases.sh'
wants it badly.

Index: t/test-lib.sh
--- t/test-lib.sh.orig
+++ t/test-lib.sh
@@ -61,6 +61,11 @@ fi
 . "$GIT_BUILD_DIR"/GIT-BUILD-OPTIONS
 export PERL_PATH SHELL_PATH
 
+if [ -n "${TEST_TAR}" ]; then
+	TAR=${TEST_TAR}
+	export TAR
+fi
+
 # if --tee was passed, write the output not only to the terminal, but
 # additionally to the file test-results/$BASENAME.out, too.
 case "$GIT_TEST_TEE_STARTED, $* " in
