aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJon Robertson <jonrober@stanford.edu>2015-08-25 14:13:09 -0700
committerJon Robertson <jonrober@stanford.edu>2015-11-18 23:47:50 -0800
commit2e00a586996cf4e53bd9d03afca7d46471549171 (patch)
tree2cf150ef57e1a60d291ce7cf279c42a08cd1fc63 /perl
parent5d668b86ced32e84fd0f49046326a0a5e20dc8eb (diff)
stanford.t: Added netdb configuration to policy tests
Since we now check to see if something is a valid netdb node entry for the ACL verifiers, we need to have a valid netdb setup to run. Change-Id: Ic2651f8b8b306dfa1f426d91f329b5100a9a1d64
Diffstat (limited to 'perl')
-rwxr-xr-xperl/t/policy/stanford.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl/t/policy/stanford.t b/perl/t/policy/stanford.t
index c58985b..0c3dd2d 100755
--- a/perl/t/policy/stanford.t
+++ b/perl/t/policy/stanford.t
@@ -29,6 +29,11 @@ BEGIN {
use_ok('Wallet::Server');
}
+# Set up our configuration for netdb, needed for the netdb verifier.
+$Wallet::Config::NETDB_REALM = 'stanford.edu';
+$Wallet::Config::NETDB_REMCTL_CACHE = $ENV{KRB5CCNAME};
+$Wallet::Config::NETDB_REMCTL_HOST = 'netdb-node-roles-rc.stanford.edu';
+
# Various valid keytab names.
my @VALID_KEYTABS = qw(host/example.stanford.edu HTTP/example.stanford.edu
service/example example/cgi class-example01/cgi dept-01example/cgi