This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository libxml-hash-lx-perl.

commit 8c98c95903ca3029e67a45cecc1d5cd6dd19800d
Author: Lucas Kanashiro <kanashiro.dua...@gmail.com>
Date:   Fri Aug 14 09:31:23 2015 -0300

    Add fix_unpredictable-order-at-empty-attr-test.patch
    
    Fix 'empty attr' test at t/00-conv.t
---
 ...ix_unpredictable-order-at-empty-attr-test.patch | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/fix_unpredictable-order-at-empty-attr-test.patch 
b/debian/patches/fix_unpredictable-order-at-empty-attr-test.patch
new file mode 100644
index 0000000..192a95f
--- /dev/null
+++ b/debian/patches/fix_unpredictable-order-at-empty-attr-test.patch
@@ -0,0 +1,29 @@
+Description: Fix unpredictable order at 'empty attr' test
+ Hash key randomization was introduced and it seems at least the test
+ t/01-conv.t is hit by that. This patch intend to fix this issue in 'empty
+ attr' test.
+Author: Petr Písař <ppi...@redhat.com>
+Last-Update: 2014-06-9
+Reviewed-by: Lucas Kanashiro <kanashiro.dua...@gmail.com>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=81645
+
+---
+ t/01-conv.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/01-conv.t b/t/01-conv.t
+index f7b06c5..30f24dc 100644
+--- a/t/01-conv.t
++++ b/t/01-conv.t
+@@ -297,7 +297,7 @@ our $xml = qq{<?xml version="1.0" encoding="utf-8"?>\n};
+ }
+ {
+       is
+-              $data = hash2xml( { node => { -attr => undef, '#cdata' => 
undef, '/' => undef, x=>undef } }, cdata => '#cdata', comm => '/' ),
++              $data = hash2xml( { node => [ { -attr => undef }, { '#cdata' => 
undef }, { '/' => undef }, { x=>undef } ] }, cdata => '#cdata', comm => '/' ),
+               qq{$xml<node attr=""><!----><x/></node>\n},
+               'empty attr',
+       ;
+-- 
+1.9.3
+
diff --git a/debian/patches/series b/debian/patches/series
index b05c295..5221eb4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_spelling_error_in_manpage.patch
+fix_unpredictable-order-at-empty-attr-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libxml-hash-lx-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to