perl-DBD-MariaDB/test-env.sh

16 lines
420 B
Bash
Raw Normal View History

2019-07-10 14:30:38 +00:00
#!/usr/bin/bash
# MariaDB setup
export MARIADB_DIR=$PWD/t/testdb
export MARIADB_UNIX_PORT=$MARIADB_DIR/mysql.sock
export MARIADB_PIDFILE=$MARIADB_DIR/mysql.pid
export MARIADB_USER=`whoami`
2019-07-10 14:30:38 +00:00
# DBD::MariaDB test setup
export DBD_MARIADB_TESTDB=testdb
export DBD_MARIADB_TESTHOST=localhost
export DBD_MARIADB_TESTSOCKET=$MARIADB_UNIX_PORT
2019-07-10 14:30:38 +00:00
export DBD_MARIADB_TESTUSER=testuser
export DBD_MARIADB_TESTPASSWORD=testpassword