mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 08:27:10 +03:00
Cleanup test scripts.
This commit is contained in:
@@ -156,7 +156,6 @@ for my $type (@TYPES) {
|
|||||||
for my $cfg (sort @cfg) {
|
for my $cfg (sort @cfg) {
|
||||||
runfile($dir, $cfg);
|
runfile($dir, $cfg);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
done();
|
done();
|
||||||
|
|
||||||
@@ -636,9 +635,12 @@ sub httpd_stop {
|
|||||||
unless (defined match_log("error", qr/caught SIG[A-Z]+, shutting down/, 60, "Waiting on httpd to stop: ")) {
|
unless (defined match_log("error", qr/caught SIG[A-Z]+, shutting down/, 60, "Waiting on httpd to stop: ")) {
|
||||||
vrb(join(" ", map { quote_shell($_) } @p));
|
vrb(join(" ", map { quote_shell($_) } @p));
|
||||||
msg("Httpd server failed to shutdown.");
|
msg("Httpd server failed to shutdown.");
|
||||||
|
sleep 0.5;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sleep 0.5;
|
||||||
|
|
||||||
return $rc;
|
return $rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user