File: test_against_runtime-version.patch

package info (click to toggle)
libxml-libxml-perl 2.0134%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,556 kB
  • sloc: perl: 6,310; ansic: 3,851; xml: 182; sh: 21; makefile: 15
file content (18 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: check the runtime version of libxml2 not the one the package was built against
 Doesn't make a difference at build time, but e.g. for later run autopkgtests.
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2020-02-28

--- a/t/48_reader_undef_warning_on_empty_str_rt106830.t
+++ b/t/48_reader_undef_warning_on_empty_str_rt106830.t
@@ -32,7 +32,7 @@
     # TEST
     SKIP:
     {
-        if (XML::LibXML::LIBXML_VERSION() >= 20905)
+        if (XML::LibXML::LIBXML_RUNTIME_VERSION() >= 20905)
         {
             skip 'libxml2 accepts empty strings since 2.9.5 version', 1;
         }