sapling/tests/hgsql/getdb.sh.example
Mark Thomas 742cd624f7 hgsql: integrate with hg-crew
Summary:
Move hgsql into the hgext directory, and the tests to tests/test-hgsql-*.

Update the tests to refer to the new places for things.

Test Plan: Run the hgsql tests and make sure they pass.

Reviewers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6660499

Tasks: T24908724
2018-01-04 07:22:19 -08:00

18 lines
609 B
Plaintext

# This file needs to be named "getdb.sh" to be effective.
# Below is an example. Change the values for your test environment.
DBHOST=localhost
DBPORT=3306
DBUSER=root
DBPASS=
# If DBNAME is empty, it'll be generated randomly and the test user needs to be
# able to create a new database. The generated database will be deleted after
# the test completes.
#
# If DBNAME is not empty, be sure to run the tests with "-j 1" to avoid race
# conditions accessing the same database. The database will not be deleted
# automatically. If you want to drop it automatically, set DBAUTODROP to 1.
#
# DBNAME=hgsql_test