This will make it possible to have a non-login-requiring srcdump test.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
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 },
);
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
+set env(CAFTEST_SRCDUMP_NEEDLOGIN) 1
srcdump-prep
dospawn
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
+set env(CAFTEST_SRCDUMP_NEEDLOGIN) 1
srcdump-prep
dospawn