chiark / gitweb /
Testing: Introduce CAFTEST_SRCDUMP_NEEDLOGIN
[cgi-auth-flexible.git] / tests / cgi
index 1e486d3..b7d81d5 100755 (executable)
--- a/tests/cgi
+++ b/tests/cgi
@@ -46,7 +46,7 @@ my @verifier_params =(
     promise_check_mutate => 1,
     dir => $dump,
     srcdump_filter_cwd => 0,
-    srcdump_needlogin => 1,
+    srcdump_needlogin => !!$ENV{CAFTEST_SRCDUMP_NEEDLOGIN},
     debug => sub { print STDERR "DEBUG ", @_[2..@_-1]; },
     get_url => sub { return $url },
 );