Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t0000: do not use export X=Y
author
Torsten Bögershausen
<tboegi@web.de>
Mon, 8 Jul 2013 09:21:22 +0000
(11:21 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 8 Jul 2013 15:22:12 +0000
(08:22 -0700)
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>
t/t0000-basic.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
62a23c9
)
diff --git
a/t/t0000-basic.sh
b/t/t0000-basic.sh
index 4f1844f7822f37cb841290bac48035d9e1336fd1..57ebb1f0d1d0b229afee42a8ce8819fb4b07fe85 100755
(executable)
--- a/
t/t0000-basic.sh
+++ b/
t/t0000-basic.sh
@@
-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