25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00
xmpp.chapril.org-ejabberd/test
Paweł Chmielowski ccb47a67c4 Don't replace %25 in webadmin test on older erlangs
It seems that is a bug in R21+ httpc, so let's try to keep that test
working with older versions
2020-04-01 17:11:19 +02:00
..
docker Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
ejabberd_SUITE_data Add baisc tests for webadmin 2020-03-23 10:52:07 +01:00
elixir-config Move mod_irc to ejabberd-contrib 2018-06-20 12:27:44 +03:00
announce_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
carbons_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
csi_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
ejabberd_SUITE.erl Make stop_ejabberd test also work without receiving </stream:stream> 2020-04-01 15:34:06 +02:00
example_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
jidprep_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
ldap_srv.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
mam_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
muc_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
offline_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
privacy_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
private_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
proxy65_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
pubsub_tests.erl Better error reporting in pubsub tests 2020-04-01 11:45:01 +02:00
push_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
README Don't attempt to create SQL tables when running tests 2019-10-28 12:09:14 +03:00
replaced_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
roster_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
sm_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
suite.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
suite.hrl Remove Riak support 2019-07-18 19:31:12 +03:00
upload_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
vcard_tests.erl Update copyright to 2020 (#3149) 2020-01-28 15:49:23 +01:00
webadmin_tests.erl Don't replace %25 in webadmin test on older erlangs 2020-04-01 17:11:19 +02:00

You need MySQL, PostgreSQL and Redis up and running.
MySQL should be accepting TCP connections on localhost:3306.
PostgreSQL should be accepting TCP connections on localhost:5432.
Redis should be accepting TCP connections on localhost:6379.
MySQL and PostgreSQL should grant full access to user 'ejabberd_test' with
password 'ejabberd_test' on database 'ejabberd_test'.

Here is a quick setup example:

------------------
  PostgreSQL
------------------
$ psql template1
template1=# CREATE USER ejabberd_test WITH PASSWORD 'ejabberd_test';
template1=# CREATE DATABASE ejabberd_test;
template1=# GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;
$ psql ejabberd_test -f sql/pg.sql

-------------------
  MySQL
-------------------
$ mysql
mysql> CREATE USER 'ejabberd_test'@'localhost' IDENTIFIED BY 'ejabberd_test';
mysql> CREATE DATABASE ejabberd_test;
mysql> GRANT ALL ON ejabberd_test.* TO 'ejabberd_test'@'localhost';
$ mysql ejabberd_test < sql/mysql.sql