aboutsummaryrefslogtreecommitdiff
path: root/tests/config
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2013-02-27 15:35:32 -0800
committerRuss Allbery <rra@stanford.edu>2013-02-27 16:53:47 -0800
commit4fb142ff9f04d32e18027f3e458226d3ac2f60c3 (patch)
tree949cc95a4bb51438aab9201c0dda224179c45eb9 /tests/config
parent18edd82ea59d8ddea7647a5848a082b78c68db1f (diff)
Update test configuration documentation
Remove the old tests/data/README documentation and move the note about krb5.conf into tests/config/README. (This should change later to use tests/config for that file.) Add a license statement to that file. Create an empty tests/config directory in the build tree if the build directory is not the source directory. Change-Id: Idf466e32cd114841c45f58dba47b11282467ec8f Reviewed-on: https://gerrit.stanford.edu/848 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to 'tests/config')
-rw-r--r--tests/config/README19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/config/README b/tests/config/README
index 2992a11..cedaccf 100644
--- a/tests/config/README
+++ b/tests/config/README
@@ -22,3 +22,22 @@ password
be configured in your system krb5.conf file or in DNS configuration
picked up by your Kerberos libraries and must be in the same realm as
the keytab above or have valid cross-realm trust to it.
+
+If you are building in a different directory tree than the source tree,
+don't put the files in this directory. Instead, after running configure,
+you will have an empty tests/config directory in your build tree. Put the
+keytab and principal files in that directory instead.
+
+If your krb5.conf file is not in /etc or /usr/local/etc, put a copy of
+your krb5.conf file in the tests/data directory. The tests need to
+generate a modified copy in order to test some behavior.
+
+-----
+
+Copyright 2013
+ The Board of Trustees of the Leland Stanford Junior University
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice and
+this notice are preserved. This file is offered as-is, without any
+warranty.