$OpenBSD: patch-t_test-lib_sh,v 1.33 2020/06/03 09:28:53 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
@@ -343,6 +343,11 @@ then
 	exit $stress_exit
 fi
 
+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.
 if test "$GIT_TEST_TEE_STARTED" = "done"
