We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f98be commit a10b864Copy full SHA for a10b864
lib/Test/Nginx.pm
@@ -299,6 +299,13 @@ sub has_feature($) {
299
return !$@;
300
}
301
302
+ if ($feature eq 'sanitizer') {
303
+ $self->{_configure_args} = `$NGINX -V 2>&1`
304
+ if !defined $self->{_configure_args};
305
+
306
+ return $self->{_configure_args} =~ /[-\/]fsanitize=/;
307
+ }
308
309
return 0;
310
311
ssl_provider_keys.t
@@ -29,6 +29,8 @@ my $t = Test::Nginx->new()->has(qw/http proxy http_ssl openssl:3/)
29
->has_daemon('openssl')->has_daemon('softhsm2-util');
30
31
plan(skip_all => 'not yet') unless $t->has_version('1.29.0');
32
+plan(skip_all => 'not compatible with sanitizers')
33
+ if $t->has_feature('sanitizer');
34
35
$t->write_file_expand('nginx.conf', <<'EOF');
36
0 commit comments