Commit Diff


commit - 60ac05357c165b2b9aa4836616db21eeaa4211ea
commit + 99ed25deb726bbb5294a88152cb1ab8a2049f537
blob - 93479c98c6ae44e160015804ccbe86b55cb378e3
blob + ab925cfe60de9d9648954018faf2e3e9777a2709
--- 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