Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (40 sloc) 1.193 kB
Testing under MySQL:
--------------------
We use the default 'test' user whom is allowed to connect to the 'test' database from localhost only.
# make test \
MOGTEST_DBUSER=test \
MOGTEST_DBNAME=test \
MOGTEST_DBTYPE=MySQL
Testing under Postgresql:
-------------------------
Database setup:
# createuser -SRlD mogile
# createdb --template template0 -E UTF8 -O mogile tmp_mogiletest
To run the tests:
# make test \
MOGTEST_DBUSER=mogile \
MOGTEST_DBNAME=tmp_mogiletest \
MOGTEST_DBROOTUSER=postgres \
MOGTEST_DBTYPE=Postgres
Testing under SQLite:
---------------------
# make test \
MOGTEST_DBUSER=mogile \
MOGTEST_DBNAME=tmp_mogiletest \
MOGTEST_DBTYPE=SQLite
Available test variables:
-------------------------
MOGTEST_DBNAME
MOGTEST_DBTYPE
MOGTEST_DBUSER
MOGTEST_DBPASS
MOGTEST_DBROOTUSER
MOGTEST_DBROOTPASS
Other use test notes:
---------------------
- Running the tests should be done with equally new versions of MogileFS-Utils
and perl-MogileFS-Client. If you have all 3 git repos checked out in
parallel, set:
"PATH=../MogileFS-Utils/:$PATH PERL5LIB=../perl-MogileFS-Client/lib"
- You can control the disk space used for the test mogstored's by setting
TMPDIR.
Jump to Line
Something went wrong with that request. Please try again.