Commit 016021ce authored by intrigeri's avatar intrigeri
Browse files

Upgrader test suite: ensure we kill the test web server process after each scenario

parent 75706f9e
......@@ -240,3 +240,9 @@ Then qr{^the downloaded file should be world-readable$}, fun ($c) {
my $other_read = $mode & S_IROTH;
ok($other_read);
};
After fun ($c) {
if (defined $c->{stash}->{scenario}->{server}->{http_pid}) {
kill $c->{stash}->{scenario}->{server}->{http_pid};
}
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment