diff options
author | Torsten Bögershausen <tboegi@web.de> | 2013-07-08 11:21:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-08 08:22:12 -0700 |
commit | e66681eb94bf1476e5c7436d777129a56512947f (patch) | |
tree | 96c083aa492359f943a5ad1351a26900dd97120a /t/t0000-basic.sh | |
parent | 62a23c9f5823171319bd01a924338dfc8e2c0679 (diff) | |
download | git-e66681eb94bf1476e5c7436d777129a56512947f.tar.gz |
t0000: do not use export X=Ytr/test-v-and-v-subtest-only
The shell syntax "export X=Y A=B" is not understood by all shells.
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Acked-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-x | t/t0000-basic.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |