Commit Diff


commit - f571fea2849dfbb5568180ac8140282f5bc6b351
commit + 74a9db5be05852a3ee9150fce2e80c8440b0afe3
blob - fb957d4b473367023db03becf6352b97e9c29ceb
blob + 8eb60e08d60656dc79accc84a064e8db41bf6df3
--- regress/cmdline/common.sh
+++ regress/cmdline/common.sh
@@ -27,8 +27,11 @@ export GOT_LOG_DEFAULT_LIMIT=0
 export GOT_TEST_ROOT="/tmp"
 export GOT_IGNORE_GITCONFIG=1
 export GOT_VERSION_STR=`got --version | cut -d ' ' -f2`
-export GOT_TEST_HTTP_PORT=8080
 
+if [ -z "$GOT_TEST_HTTP_PORT" ]; then
+	export GOT_TEST_HTTP_PORT=8080
+fi
+
 export LC_ALL=C
 
 export MALLOC_OPTIONS=S