summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-13 12:23:26 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-13 12:23:26 +0000
commit03e5798defa6e00c6ef26b6ef570cb14d78ea1b6 (patch)
treec99a7b418c79cb44f81dd9ae791ba556e69e9789 /scripts
parentbb253b053951049f05a6ab019bca726494e72b4c (diff)
downloadbrdo-03e5798defa6e00c6ef26b6ef570cb14d78ea1b6.tar.gz
brdo-03e5798defa6e00c6ef26b6ef570cb14d78ea1b6.tar.bz2
- Patch #430682 by saxofaan: script didn't work with non-default webserver port.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index a6723fc9f..795c67886 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -250,7 +250,7 @@ function simpletest_script_init() {
// Get url from arguments.
if (!empty($args['url'])) {
$parsed_url = parse_url($args['url']);
- $host = $parsed_url['host'];
+ $host = $parsed_url['host'] . (isset($parsed_url['port']) ? ':' . $parsed_url['port'] : '');
$path = $parsed_url['path'];
}