aboutsummaryrefslogtreecommitdiff
path: root/t/lib-httpd.sh
diff options
context:
space:
mode:
authorBryan Donlan <bdonlan@fushizen.net>2008-05-04 01:37:58 -0400
committerJunio C Hamano <gitster@pobox.com>2008-05-05 14:17:01 -0700
commit0e46e704626af5189c9c9ff2c0f348d2205c10f3 (patch)
tree5c1ad84d9adf5016bd1b8324da1c148025cd74df /t/lib-httpd.sh
parentcdf3ec01acb8785b8e61ce6e006c9c4c763de663 (diff)
downloadgit-0e46e704626af5189c9c9ff2c0f348d2205c10f3.tar.gz
git-0e46e704626af5189c9c9ff2c0f348d2205c10f3.tar.xz
Don't use the 'export NAME=value' in the test scripts.
This form is not portable across all shells, so replace instances of: export FOO=bar with: FOO=bar export FOO Signed-off-by: Bryan Donlan <bdonlan@fushizen.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd.sh')
-rw-r--r--t/lib-httpd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index 7f206c56c..a5c4436fd 100644
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
@@ -61,7 +61,8 @@ prepare_httpd() {
-new -x509 -nodes \
-out $HTTPD_ROOT_PATH/httpd.pem \
-keyout $HTTPD_ROOT_PATH/httpd.pem
- export GIT_SSL_NO_VERIFY=t
+ GIT_SSL_NO_VERIFY=t
+ export GIT_SSL_NO_VERIFY
HTTPD_PARA="$HTTPD_PARA -DSSL"
else
HTTPD_URL=http://127.0.0.1:$LIB_HTTPD_PORT