]> granicus.if.org Git - git/commitdiff
t0000: do not use export X=Y
authorTorsten Bögershausen <tboegi@web.de>
Mon, 8 Jul 2013 09:21:22 +0000 (11:21 +0200)
committerJunio 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

index 4f1844f7822f37cb841290bac48035d9e1336fd1..57ebb1f0d1d0b229afee42a8ce8819fb4b07fe85 100755 (executable)
@@ -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