summaryrefslogtreecommitdiff
path: root/perl/t/keytab.t
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2007-12-01 01:10:48 +0000
committerRuss Allbery <rra@stanford.edu>2007-12-01 01:10:48 +0000
commiteb3b657cd8620ecd34dd3c224a4263d90381789b (patch)
treeebe9e32333824649c43455dee4d8449d1191bdfa /perl/t/keytab.t
parent5563464c5392112f0f7b20fcfd610a734303e4c2 (diff)
Hide kinit errors. No one cares.
Diffstat (limited to 'perl/t/keytab.t')
-rwxr-xr-xperl/t/keytab.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/t/keytab.t b/perl/t/keytab.t
index c7b333c..fbd66f6 100755
--- a/perl/t/keytab.t
+++ b/perl/t/keytab.t
@@ -79,9 +79,9 @@ sub destroy {
sub getcreds {
my ($file, $principal) = @_;
my @commands = (
- "kinit -k -t $file $principal >/dev/null </dev/null",
- "kinit -t $file $principal >/dev/null </dev/null",
- "kinit -k -K $file $principal >/dev/null </dev/null",
+ "kinit -k -t $file $principal 2>&1 >/dev/null </dev/null",
+ "kinit -t $file $principal 2>&1 >/dev/null </dev/null",
+ "kinit -k -K $file $principal 2>&1 >/dev/null </dev/null",
);
for my $command (@commands) {
if (system ($command) == 0) {