chiark / gitweb /
Testing: test.cgi: Provide debug output hook
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 27 Oct 2015 16:48:31 +0000 (16:48 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 27 Oct 2015 17:15:43 +0000 (17:15 +0000)
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
test.cgi

index 9d6a7e2..d6de399 100755 (executable)
--- a/test.cgi
+++ b/test.cgi
@@ -21,6 +21,7 @@ my @verifier_params =(
     promise_check_mutate => 1,
     dir => $dump,
     srcdump_filter_cwd => 0,
+    debug => sub { print STDERR "DEBUG ", @_[2..@_-1]; },
     );
 
 my $verifier = CGI::Auth::Flexible->new_verifier(@verifier_params);