1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-02 21:02:41 +02:00

[ticket/16659] Split up tests for each database type

PHPBB3-16659
This commit is contained in:
Marc Alexander
2020-12-16 21:46:57 +01:00
parent b3e3d9642e
commit ef22a029b2
18 changed files with 789 additions and 95 deletions

19
.github/setup-ldap.sh vendored Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
#
# This file is part of the phpBB Forum Software package.
#
# @copyright (c) phpBB Limited <https://www.phpbb.com>
# @license GNU General Public License, version 2 (GPL-2.0)
#
# For full copyright and license information, please see
# the docs/CREDITS.txt file.
#
set -e
set -x
sudo apt-get -y install ldap-utils slapd
mkdir /var/tmp/slapd
cp .github/ldap/slapd.conf /var/tmp/slapd/slapd.conf
slapd -d 256 -d 128 -f /var/tmp/slapd/slapd.conf -h ldap://localhost:3389 &
sleep 3
ldapadd -h localhost:3389 -D "cn=admin,dc=example,dc=com" -w adminadmin -f .github/ldap/base.ldif