t0000: do not use export X=Y
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>
This commit is contained in:
parent
62a23c9f58
commit
e66681eb94
@ -53,7 +53,8 @@ run_sub_test_lib_test () {
|
|||||||
# Pretend we're a test harness. This prevents
|
# Pretend we're a test harness. This prevents
|
||||||
# test-lib from writing the counts to a file that will
|
# test-lib from writing the counts to a file that will
|
||||||
# later be summarized, showing spurious "failed" tests
|
# later be summarized, showing spurious "failed" tests
|
||||||
export HARNESS_ACTIVE=t &&
|
HARNESS_ACTIVE=t &&
|
||||||
|
export HARNESS_ACTIVE &&
|
||||||
cd "$name" &&
|
cd "$name" &&
|
||||||
cat >"$name.sh" <<-EOF &&
|
cat >"$name.sh" <<-EOF &&
|
||||||
#!$SHELL_PATH
|
#!$SHELL_PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user