summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-03-03 19:49:46 -0800
committerRuss Allbery <rra@stanford.edu>2010-03-03 19:49:46 -0800
commit69289862465a3bfb3488c1b3a674b6b06c9911ee (patch)
treeef3eee98ddf1a47fbb96fcb06ed6299b5bdbb911
parent2b8931dedf7daebffbfc0732365bad73014eb4db (diff)
Remove file names from test file headers
Coding style update. Don't prefix the file short description with the file name; it's not needed.
-rwxr-xr-xperl/t/acl.t2
-rwxr-xr-xperl/t/admin.t2
-rwxr-xr-xperl/t/config.t2
-rwxr-xr-xperl/t/data/keytab-fake2
-rwxr-xr-xperl/t/data/netdb-fake2
-rwxr-xr-xperl/t/file.t2
-rwxr-xr-xperl/t/init.t2
-rwxr-xr-xperl/t/kadmin.t2
-rwxr-xr-xperl/t/keytab.t2
-rw-r--r--perl/t/lib/Util.pm4
-rwxr-xr-xperl/t/object.t2
-rwxr-xr-xperl/t/pod-spelling.t3
-rwxr-xr-xperl/t/report.t2
-rwxr-xr-xperl/t/schema.t2
-rwxr-xr-xperl/t/server.t2
-rwxr-xr-xperl/t/verifier-netdb.t10
-rwxr-xr-xperl/t/verifier.t6
-rwxr-xr-xtests/data/fake-kadmin3
-rw-r--r--tests/data/wallet.conf2
19 files changed, 27 insertions, 27 deletions
diff --git a/perl/t/acl.t b/perl/t/acl.t
index 95aa763..f169eb5 100755
--- a/perl/t/acl.t
+++ b/perl/t/acl.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/api.t -- Tests for the wallet ACL API.
+# Tests for the wallet ACL API.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/admin.t b/perl/t/admin.t
index e22088e..074dbc6 100755
--- a/perl/t/admin.t
+++ b/perl/t/admin.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/admin.t -- Tests for wallet administrative interface.
+# Tests for wallet administrative interface.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2008, 2009, 2010 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/config.t b/perl/t/config.t
index 1377cb8..6b9f226 100755
--- a/perl/t/config.t
+++ b/perl/t/config.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/config.t -- Tests for the wallet server configuration.
+# Tests for the wallet server configuration.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2008, 2010 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/data/keytab-fake b/perl/t/data/keytab-fake
index 0ecf264..f4f0fb3 100755
--- a/perl/t/data/keytab-fake
+++ b/perl/t/data/keytab-fake
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# keytab-fake -- Fake keytab-backend implementation.
+# Fake keytab-backend implementation.
#
# This keytab-fake script is meant to be run by remctld during testing of
# the keytab object implementation. It returns a fixed string for
diff --git a/perl/t/data/netdb-fake b/perl/t/data/netdb-fake
index ae5be18..9624102 100755
--- a/perl/t/data/netdb-fake
+++ b/perl/t/data/netdb-fake
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# netdb-fake -- Fake NetDB remctl interface.
+# Fake NetDB remctl interface.
#
# This netdb-fake script is meant to be run by remctld during testing of
# the NetDB ACL verifier. It returns known roles or errors for different
diff --git a/perl/t/file.t b/perl/t/file.t
index 7ab5d75..a821c4f 100755
--- a/perl/t/file.t
+++ b/perl/t/file.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/file.t -- Tests for the file object implementation.
+# Tests for the file object implementation.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2008 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/init.t b/perl/t/init.t
index d0fae9f..213aedf 100755
--- a/perl/t/init.t
+++ b/perl/t/init.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/init.t -- Tests for database initialization.
+# Tests for database initialization.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/kadmin.t b/perl/t/kadmin.t
index 6365ce5..0b52528 100755
--- a/perl/t/kadmin.t
+++ b/perl/t/kadmin.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/kadmin.t -- Tests for the kadmin object implementation.
+# Tests for the kadmin object implementation.
#
# Written by Jon Robertson <jonrober@stanford.edu>
# Copyright 2009, 2010 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/keytab.t b/perl/t/keytab.t
index 046da9c..b16cea5 100755
--- a/perl/t/keytab.t
+++ b/perl/t/keytab.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/keytab.t -- Tests for the keytab object implementation.
+# Tests for the keytab object implementation.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008, 2009, 2010
diff --git a/perl/t/lib/Util.pm b/perl/t/lib/Util.pm
index ab88b39..44a4d21 100644
--- a/perl/t/lib/Util.pm
+++ b/perl/t/lib/Util.pm
@@ -1,4 +1,4 @@
-# Util -- Utility class for wallet tests.
+# Utility class for wallet tests.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
@@ -16,7 +16,7 @@ use Wallet::Config;
# This version should be increased on any code change to this module. Always
# use two digits for the minor version with a leading zero if necessary so
# that it will sort properly.
-$VERSION = '0.02';
+$VERSION = '0.03';
use Exporter ();
@ISA = qw(Exporter);
diff --git a/perl/t/object.t b/perl/t/object.t
index 46e67e5..3949786 100755
--- a/perl/t/object.t
+++ b/perl/t/object.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/object.t -- Tests for the basic object implementation.
+# Tests for the basic object implementation.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/pod-spelling.t b/perl/t/pod-spelling.t
index d3ab858..6d9f7b0 100755
--- a/perl/t/pod-spelling.t
+++ b/perl/t/pod-spelling.t
@@ -9,8 +9,7 @@
#
# Copyright 2008, 2009 Russ Allbery <rra@stanford.edu>
#
-# This program is free software; you may redistribute it and/or modify it
-# under the same terms as Perl itself.
+# See LICENSE for licensing terms.
use strict;
use Test::More;
diff --git a/perl/t/report.t b/perl/t/report.t
index a18b995..a37681a 100755
--- a/perl/t/report.t
+++ b/perl/t/report.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/report.t -- Tests for the wallet reporting interface.
+# Tests for the wallet reporting interface.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2008, 2009, 2010 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/schema.t b/perl/t/schema.t
index 559ece4..7f0aea4 100755
--- a/perl/t/schema.t
+++ b/perl/t/schema.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/schema.t -- Tests for the wallet schema class.
+# Tests for the wallet schema class.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/server.t b/perl/t/server.t
index 090387b..7b30053 100755
--- a/perl/t/server.t
+++ b/perl/t/server.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/server.t -- Tests for the wallet server API.
+# Tests for the wallet server API.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
diff --git a/perl/t/verifier-netdb.t b/perl/t/verifier-netdb.t
index dcbbdd8..6bd4e73 100755
--- a/perl/t/verifier-netdb.t
+++ b/perl/t/verifier-netdb.t
@@ -1,15 +1,15 @@
#!/usr/bin/perl -w
#
-# t/verifier-netdb.t -- Tests for the NetDB wallet ACL verifiers.
+# Tests for the NetDB wallet ACL verifiers.
+#
+# This test can only be run by someone local to Stanford with appropriate
+# access to the NetDB role server and will be skipped in all other
+# environments.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2008 Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.
-#
-# This test can only be run by someone local to Stanford with appropriate
-# access to the NetDB role server and will be skipped in all other
-# environments.
use Test::More tests => 4;
diff --git a/perl/t/verifier.t b/perl/t/verifier.t
index 3243d9c..74d7ba8 100755
--- a/perl/t/verifier.t
+++ b/perl/t/verifier.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/verifier.t -- Tests for the basic wallet ACL verifiers.
+# Tests for the basic wallet ACL verifiers.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007, 2008 Board of Trustees, Leland Stanford Jr. University
@@ -39,8 +39,8 @@ is ($verifier->error, 'no principal specified', ' and right error');
is ($verifier->check ('rra@stanford.edu', ''), undef, 'Empty ACL');
is ($verifier->error, 'malformed krb5 ACL', ' and right error');
-# Tests for unchanging support. Skip these if we don't have a keytab or if we
-# can't find remctld.
+# Tests for the NetDB verifiers. Skip these if we don't have a keytab or if
+# we can't find remctld.
SKIP: {
skip 'no keytab configuration', 34 unless -f 't/data/test.keytab';
my @path = (split (':', $ENV{PATH}), '/usr/local/sbin', '/usr/sbin');
diff --git a/tests/data/fake-kadmin b/tests/data/fake-kadmin
index 61906a4..4c0ceac 100755
--- a/tests/data/fake-kadmin
+++ b/tests/data/fake-kadmin
@@ -1,9 +1,10 @@
#!/usr/bin/perl -w
#
-# fake-kadmin -- Fake kadmin.local used to test the keytab backend.
+# Fake kadmin.local used to test the keytab backend.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2007 Board of Trustees, Leland Stanford Jr. University
+#
# See LICENSE for licensing terms.
unless ($ARGV[0] eq '-q' && @ARGV == 2) {
diff --git a/tests/data/wallet.conf b/tests/data/wallet.conf
index 0a232dd..877a16f 100644
--- a/tests/data/wallet.conf
+++ b/tests/data/wallet.conf
@@ -1,4 +1,4 @@
-# wallet.conf -- Test wallet server configuration. -*- perl -*-
+# Test wallet server configuration. -*- perl -*-
# Always test with SQLite.
$DB_DRIVER = 'SQLite';