1
0
mirror of https://github.com/git/git.git synced 2024-10-19 23:28:32 +02:00

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:
Torsten Bögershausen 2013-07-08 11:21:22 +02:00 committed by Junio C Hamano
parent 62a23c9f58
commit e66681eb94

@ -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