From e66681eb94bf1476e5c7436d777129a56512947f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20B=C3=B6gershausen?= Date: Mon, 8 Jul 2013 11:21:22 +0200 Subject: t0000: do not use export X=Y MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shell syntax "export X=Y A=B" is not understood by all shells. Signed-off-by: Torsten Bögershausen Acked-by: Thomas Rast Signed-off-by: Junio C Hamano --- t/t0000-basic.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index 4f1844f782..57ebb1f0d1 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -53,7 +53,8 @@ run_sub_test_lib_test () { # Pretend we're a test harness. This prevents # test-lib from writing the counts to a file that will # later be summarized, showing spurious "failed" tests - export HARNESS_ACTIVE=t && + HARNESS_ACTIVE=t && + export HARNESS_ACTIVE && cd "$name" && cat >"$name.sh" <<-EOF && #!$SHELL_PATH -- cgit v1.2.1