Changeset 1102
- Timestamp:
- 09/07/08 13:56:36 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/arnoschn/cache/lib/utils/scripts/ci-test.php
r1101 r1102 209 209 210 210 $parts = parse_url($url); 211 if (!isset($parts['host'])) { 212 $this->error('No host found in: '.$url); 213 return false; 214 } 211 215 $rewritebase = isset($parts['path'])?$parts['path']:'/'; 212 216 $htaccessTemplateFile = AK_BASE_DIR.DS.'script'.DS.'extras'.DS.'TPL-htaccess'; … … 345 349 function _promptForTestingUrl() 346 350 { 347 while ((($testingUrl = $this->promptUserVar('Please provide the testing url of the webserver ( point totest/fixtures/public)')) && !$this->_checkWebServer($testingUrl))) {351 while ((($testingUrl = $this->promptUserVar('Please provide the testing url of the webserver (example: http://localhost/test/fixtures/public)')) && !$this->_checkWebServer($testingUrl))) { 348 352 $this->error('Could not verify the testing url. Please make sure a webserver is running and handling that request.'); 349 353 } … … 357 361 { 358 362 if ($testDir == null) { 359 while ((($testDir = $this->promptUserVar(' Where shall the akelos testinstallation be installed?')) && ((file_exists($testDir) && !is_writable($testDir)) || (!is_writable(dirname(dirname($testDir))))))) {363 while ((($testDir = $this->promptUserVar('Please insert the path for installing the CI tests for Akelos')) && ((file_exists($testDir) && !is_writable($testDir)) || (!is_writable(dirname(dirname($testDir))))))) { 360 364 $this->error('Directory '.$testDir.' is not writable'); 361 365 }
