Skip to content

Commit e66681e

Browse files
tboegigitster
authored andcommitted
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 <[email protected]> Acked-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 62a23c9 commit e66681e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t0000-basic.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ run_sub_test_lib_test () {
5353
# Pretend we're a test harness. This prevents
5454
# test-lib from writing the counts to a file that will
5555
# later be summarized, showing spurious "failed" tests
56-
export HARNESS_ACTIVE=t &&
56+
HARNESS_ACTIVE=t &&
57+
export HARNESS_ACTIVE &&
5758
cd "$name" &&
5859
cat >"$name.sh" <<-EOF &&
5960
#!$SHELL_PATH

0 commit comments

Comments
 (0)