tests: fix "export var=val"
Some shells do not like "export var=val"; the right way to write it is to do an assignment and then export just the variable name. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d61027b21f
commit
91e80b984e
@ -185,8 +185,8 @@ test_expect_success 'submodule fast-export | fast-import' '
|
|||||||
|
|
||||||
'
|
'
|
||||||
|
|
||||||
export GIT_AUTHOR_NAME='A U Thor'
|
GIT_AUTHOR_NAME='A U Thor'; export GIT_AUTHOR_NAME
|
||||||
export GIT_COMMITTER_NAME='C O Mitter'
|
GIT_COMMITTER_NAME='C O Mitter'; export GIT_COMMITTER_NAME
|
||||||
|
|
||||||
test_expect_success 'setup copies' '
|
test_expect_success 'setup copies' '
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ do
|
|||||||
-i|--i|--im|--imm|--imme|--immed|--immedi|--immedia|--immediat|--immediate)
|
-i|--i|--im|--imm|--imme|--immed|--immedi|--immedia|--immediat|--immediate)
|
||||||
immediate=t; shift ;;
|
immediate=t; shift ;;
|
||||||
-l|--l|--lo|--lon|--long|--long-|--long-t|--long-te|--long-tes|--long-test|--long-tests)
|
-l|--l|--lo|--lon|--long|--long-|--long-t|--long-te|--long-tes|--long-test|--long-tests)
|
||||||
export GIT_TEST_LONG=t; shift ;;
|
GIT_TEST_LONG=t; export GIT_TEST_LONG; shift ;;
|
||||||
-h|--h|--he|--hel|--help)
|
-h|--h|--he|--hel|--help)
|
||||||
help=t; shift ;;
|
help=t; shift ;;
|
||||||
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
|
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
|
||||||
|
Loading…
Reference in New Issue
Block a user