Skip to content

Commit d36c977

Browse files
committed
tests: disabled the os-getenv-hup.t test suite in check leak mode.
1 parent 93bc9df commit d36c977

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

t/os-getenv-hup.t

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# vim:set ft= ts=4 sw=4 et fdm=marker:
2+
3+
our $SkipReason;
4+
5+
BEGIN {
6+
if ($ENV{TEST_NGINX_CHECK_LEAK}) {
7+
$SkipReason = "unavailable for the hup tests";
8+
9+
} else {
10+
undef $ENV{TEST_NGINX_USE_STAP};
11+
}
12+
}
13+
214
use lib '.';
3-
use t::TestCore;
15+
use t::TestCore $SkipReason ? (skip_all => $SkipReason) : ();
416

517
plan tests => repeat_each() * (blocks() * 4);
618

t/stream/os-getenv-hup.t

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# vim:set ft= ts=4 sw=4 et fdm=marker:
2+
3+
our $SkipReason;
4+
5+
BEGIN {
6+
if ($ENV{TEST_NGINX_CHECK_LEAK}) {
7+
$SkipReason = "unavailable for the hup tests";
8+
9+
} else {
10+
undef $ENV{TEST_NGINX_USE_STAP};
11+
}
12+
}
13+
214
use lib '.';
3-
use t::TestCore::Stream;
15+
use t::TestCore::Stream $SkipReason ? (skip_all => $SkipReason) : ();
416

517
plan tests => repeat_each() * (blocks() * 2 + 1);
618

0 commit comments

Comments
 (0)