aboutsummaryrefslogtreecommitdiff
path: root/t/104badkey.t
diff options
context:
space:
mode:
Diffstat (limited to 't/104badkey.t')
-rw-r--r--t/104badkey.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/104badkey.t b/t/104badkey.t
new file mode 100644
index 0000000..8439055
--- /dev/null
+++ b/t/104badkey.t
@@ -0,0 +1,17 @@
+# -*- perl -*-
+use lib qw(t lib);
+use strict;
+use Test;
+use TestLDAP;
+
+plan(tests => 1);
+
+my $cf = new TestLDAP(expect => [
+ q(keyword "tls_cert" is unknown)
+]);
+ok(!$cf->status);
+
+__DATA__
+BASE dc=example,dc=com
+tls_cert crt
+URI ldap://ldap.example.com

Return to:

Send suggestions and report system problems to the System administrator.