Test-Smoke
view release on metacpan or search on metacpan
- spaces break.
- We have now split off the building of the command line from the run
- method in order to test it properly.
- (Abe Timmerman, Tue, 9 May 2023 13:59:54 +0200) Use quote-meta for paths
- On MSWin32 the backslash (\) path-separator is interpreted as the escape
- char, this messes up the regex for matching them. We'll quote-meta the
- paths for the test.
- (Abe Timmerman, Tue, 9 May 2023 14:03:05 +0200) Remove HTTPS?_PROXY
while running the test
- A test-failure showing a 403 from a squid-proxy makes me think we need
- to temporarily remove the ENVironment variables HTTP_PROXY and
- HTTPS_PROXY if set.
- (Abe Timmerman, Tue, 9 May 2023 14:07:33 +0200) Use tempdir() for new
target dirs
- We shouldn't use the 't/' directory for targeting our destinations, a
- tempdir() is nicer and most likely always writable.
- Also add a test for the UNCify_path() function.
- (Abe Timmerman, Tue, 27 Jun 2023 16:28:30 +0200) Create option to skip
PERLIO=stdio
- On some platforms - e.g. HP-UX - stdio will not ever work again, we need
- a way to run the test suite without the stdio option. This will create
t/poster-post.t view on Meta::CPAN
END {
unlink "t/$jsnfile";
if ($pid) {
note("tear down: $pid");
$daemon->close;
kill 9, $pid;
}
}
# We want to address our daemon directly
for my $envv (qw<ALL_PROXY HTTP_PROXY HTTPS_PROXY>) {
delete($ENV{$envv}) if exists($ENV{$envv});
delete($ENV{lc($envv)}) if exists($ENV{lc($envv)});
}
my $sysinfo = { sysinfo => $^O };
SKIP: {
skip("Could not load LWP::UserAgent", 3) if !has_module('LWP::UserAgent');
(my $sdb_url = $url->clone)->path('/report');
my $poster = Test::Smoke::Poster->new(
( run in 0.915 second using v1.01-cache-2.11-cpan-71847e10f99 )