diff options
author | Russ Allbery <eagle@eyrie.org> | 2014-01-06 21:32:14 -0800 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2014-01-06 21:33:44 -0800 |
commit | dd03b448bb22a0654ee546fd527be6adace3e6e0 (patch) | |
tree | f65ad1ba7774de440de516fbe3048302a3368dc0 | |
parent | a56ad299f0b27de33d30ab06f8d811f8949308d5 (diff) |
Fix test skip count in the verifier-ldap-attr test
When the correct Kerberos tickets aren't available, this test
skipped the wrong number of tests.
Change-Id: Icf27178fe88027f38764285bb671560e051f9105
Reviewed-on: https://gerrit.stanford.edu/1373
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
-rwxr-xr-x | perl/t/verifier-ldap-attr.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/t/verifier-ldap-attr.t b/perl/t/verifier-ldap-attr.t index 41d6737..7fad990 100755 --- a/perl/t/verifier-ldap-attr.t +++ b/perl/t/verifier-ldap-attr.t @@ -6,7 +6,7 @@ # access to the LDAP server and will be skipped in all other environments. # # Written by Russ Allbery <rra@stanford.edu> -# Copyright 2012, 2013 +# Copyright 2012, 2013, 2014 # The Board of Trustees of the Leland Stanford Junior University # # See LICENSE for licensing terms. @@ -44,7 +44,7 @@ package main; # Determine the local principal. my $klist = `klist 2>&1` || ''; SKIP: { - skip "tests useful only with Stanford Kerberos tickets", 4 + skip "tests useful only with Stanford Kerberos tickets", 9 unless ($klist =~ /[Pp]rincipal: \S+\@stanford\.edu$/m); # Set up our configuration. |