summaryrefslogtreecommitdiff
path: root/perl/t/keytab.t
diff options
context:
space:
mode:
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) {