clarify db settings for run-tests.sh example command

Created on 27 June 2017, over 7 years ago
Updated 12 August 2024, 3 months ago

The help text which run-tests.sh outputs contains an example of how to invoke the script without a working database or settings.php

$ php core/scripts/run-tests.sh | tail -n8
Without a preinstalled Drupal site and enabled Simpletest module, specify a
SQLite database pathname to create and the default database connection info to
use in tests:

sudo -u [wwwrun|www-data|etc] php ./core/scripts/run-tests.sh
  --sqlite /tmpfs/drupal/test.sqlite
  --dburl mysql://username:password@localhost/database
  --url http://example.com/ --all

However, it could be made a little clearer that the sqlite db here is for the test runner, and the mysql db is for Drupal.

πŸ› Bug report
Status

Fixed

Version

11.0 πŸ”₯

Component
DocumentationΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom mcdruid πŸ‡¬πŸ‡§πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024