aboutsummaryrefslogtreecommitdiff
path: root/perl/t/verifier/netdb.t
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2018-05-27 22:05:31 -0700
committerRuss Allbery <eagle@eyrie.org>2018-05-27 22:05:31 -0700
commit769217510b97e23101a01d228e2b8510fd43a725 (patch)
tree8ac16d985a45b1fa3bfb19a6d3ce17bc61c46fbd /perl/t/verifier/netdb.t
parent3c5a45223de1e5a1d39afe78c3a323c68050d466 (diff)
Add obsolete-strings test and fix problems it finds
Mostly changing http eyrie.org URLs to https, but also remove my old email address in one place and switch some tests away from my old RRA_MAINTAINER_TESTS environment variable to use the Lancaster Consensus variables properly. This uncovered a bug in skipping one test unless Stanford Kerberos credentials existed.
Diffstat (limited to 'perl/t/verifier/netdb.t')
-rwxr-xr-xperl/t/verifier/netdb.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl/t/verifier/netdb.t b/perl/t/verifier/netdb.t
index 7048ef9..200fc9e 100755
--- a/perl/t/verifier/netdb.t
+++ b/perl/t/verifier/netdb.t
@@ -7,6 +7,7 @@
# environments.
#
# Written by Russ Allbery <eagle@eyrie.org>
+# Copyright 2018 Russ Allbery <eagle@eyrie.org>
# Copyright 2008, 2014
# The Board of Trustees of the Leland Stanford Junior University
#
@@ -20,11 +21,16 @@ use Test::More tests => 5;
use Wallet::ACL::NetDB;
use lib 't/lib';
+use Test::RRA qw(skip_unless_author);
use Util;
+# This test requires a specific environment setup, so only run it for package
+# maintainers.
+skip_unless_author('LDAP verifier tests');
+
my $netdb = 'netdb-node-roles-rc.stanford.edu';
my $host = 'windlord.stanford.edu';
-my $user = 'rra@stanford.edu';
+my $user = 'jonrober@stanford.edu';
# Determine the local principal.
my $klist = `klist 2>&1` || '';