summaryrefslogtreecommitdiff
path: root/t/op/regexp.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/regexp.t')
-rwxr-xr-xt/op/regexp.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/op/regexp.t b/t/op/regexp.t
index 4a4d42fd98..7fbfc97342 100755
--- a/t/op/regexp.t
+++ b/t/op/regexp.t
@@ -1,5 +1,8 @@
#!./perl
+# XXX known to leak scalars
+$ENV{PERL_DESTRUCT_LEVEL} = 0 unless $ENV{PERL_DESTRUCT_LEVEL} > 3;
+
# The tests are in a separate file 't/op/re_tests'.
# Each line in that file is a separate test.
# There are five columns, separated by tabs.