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>
Torsten Bögershausen committed
Jul 8, 2013 at 11:21 UTC
e66681eb94bf1476e5c7436d777129a56512947f
1 file changed
+2
-1
t/t0000-basic.sh
+2
-1
@@ -53,7 +53,8 @@ run_sub_test_lib_test () {
53
# Pretend we're a test harness. This prevents
54
# test-lib from writing the counts to a file that will
55
# later be summarized, showing spurious "failed" tests
56
- export HARNESS_ACTIVE=t &&
56
+ HARNESS_ACTIVE=t &&
57
+ export HARNESS_ACTIVE &&
58
cd "$name" &&
59
cat >"$name.sh" <<-EOF &&
60
#!$SHELL_PATH