summaryrefslogtreecommitdiff
path: root/user/perl-test-runvalgrind/portable-memory-assumptions.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 22:44:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 22:44:23 +0000
commit70252859ab7c08136d5086e4d0a67c49928ac352 (patch)
tree31289d0656f94d9e680cb824ef9d3dd4682b81fa /user/perl-test-runvalgrind/portable-memory-assumptions.patch
parent0948d1de3a33bdd7574b1c76f615997cecc45189 (diff)
downloadpackages-70252859ab7c08136d5086e4d0a67c49928ac352.tar.gz
packages-70252859ab7c08136d5086e4d0a67c49928ac352.tar.bz2
packages-70252859ab7c08136d5086e4d0a67c49928ac352.tar.xz
packages-70252859ab7c08136d5086e4d0a67c49928ac352.zip
user/perl-test-runvalgrind: make more portable
Diffstat (limited to 'user/perl-test-runvalgrind/portable-memory-assumptions.patch')
-rw-r--r--user/perl-test-runvalgrind/portable-memory-assumptions.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/perl-test-runvalgrind/portable-memory-assumptions.patch b/user/perl-test-runvalgrind/portable-memory-assumptions.patch
new file mode 100644
index 000000000..927da1194
--- /dev/null
+++ b/user/perl-test-runvalgrind/portable-memory-assumptions.patch
@@ -0,0 +1,14 @@
+Upstream: https://github.com/shlomif/perl-Test-RunValgrind/issues/5
+
+--- Test-RunValgrind-0.2.0/lib/Test/RunValgrind.pm.old 2018-01-26 18:07:19.000000000 +0000
++++ Test-RunValgrind-0.2.0/lib/Test/RunValgrind.pm 2018-10-02 22:42:05.450000000 +0000
+@@ -80,7 +80,8 @@
+ index( $$out_text, q{ERROR SUMMARY: 0 errors from 0 contexts} ) >= 0
+ )
+ && ( $self->_ignore_leaks
+- || ( index( $$out_text, q{in use at exit: 0 bytes} ) >= 0 ) )
++ || ( index( $$out_text, q{in use at exit: 0 bytes} ) >= 0 )
++ || ( index( $$out_text, q{still reachable: 0 bytes} ) >= 0 ) )
+ );
+ }
+