Changeset

867:a93cb608db2c

Print the username if a test login fails
author Rob Hoelz <rob@hoelz.ro>
date Mon, 10 Dec 2012 22:05:24 +0100
parents 866:8495dae58d78
children 868:0017518c94a0
files mod_lib_ldap/dev/t/00-login.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_lib_ldap/dev/t/00-login.t	Mon Dec 10 22:04:53 2012 +0100
+++ b/mod_lib_ldap/dev/t/00-login.t	Mon Dec 10 22:05:24 2012 +0100
@@ -24,7 +24,7 @@
     });
 
     my $error = $conn->cond->recv;
-    ok(! $error) or diag($error);
+    ok(! $error) or diag("$username login failed: $error");
 }
 
 do {