aboutsummaryrefslogtreecommitdiff
path: root/perl/t/data/README
diff options
context:
space:
mode:
Diffstat (limited to 'perl/t/data/README')
-rw-r--r--perl/t/data/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/t/data/README b/perl/t/data/README
index 8b68db9..bd57aad 100644
--- a/perl/t/data/README
+++ b/perl/t/data/README
@@ -1,5 +1,19 @@
This directory contains additional data files needed to run some tests.
+By default, all the tests are done using a SQLite database. To test
+against another database, create a file named test.database. The first
+line of the file should contain the database driver name (mysql, for
+example, for DBD::mysql). The second line should contain the DBI connect
+string, normally of the form:
+
+ database=<name>;host=<host>;port=<port>
+
+replacing <name>, <host>, and <port> with the parameters for your
+database. The third line should be the username to use, and the fourth
+and last line should be the password. If this file is present, all tests
+except part of the schema test will be run against this database instead
+of a local SQLite database.
+
In order to run the keytab tests, you will need to grant the test
processes access to create, download, and remove principals in a test KDC.
This should not be pointed at a production KDC! Then, create the