Skip to content

Commit

Permalink
t0000: do not use export X=Y
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Torsten Bögershausen authored and Junio C Hamano committed Jul 8, 2013
1 parent 62a23c9 commit e66681e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/t0000-basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e66681e

Please sign in to comment.