Bug#711627: [PATCH] fix t/05-scoping.t with hash random problem; review please

CSILLAG Tamas cstamas at cstamas.hu
Fri Oct 11 20:37:05 UTC 2013


Hi,

I think this actually fixes the problem, but if someone more confident than me
can confirm I would go ahead preparing a release and mailing upstream.

Regards,
 cstamas

---
 debian/patches/hash-random-test-fix.patch |   16 ++++++++++++++++
 debian/patches/series                     |    1 +
 2 files changed, 17 insertions(+)
 create mode 100644 debian/patches/hash-random-test-fix.patch

diff --git a/debian/patches/hash-random-test-fix.patch b/debian/patches/hash-random-test-fix.patch
new file mode 100644
index 0000000..9a2fd89
--- /dev/null
+++ b/debian/patches/hash-random-test-fix.patch
@@ -0,0 +1,16 @@
+Description: hash random test case fix
+Author: CSILLAG Tamas <cstamas at cstamas.hu>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711627
+Last-Update: 2013-10-11
+
+--- libyaml-appconfig-perl-0.16.orig/t/05-scoping.t
++++ libyaml-appconfig-perl-0.16/t/05-scoping.t
+@@ -43,7 +43,7 @@ BEGIN { use_ok('YAML::AppConfig') }
+     like( $@, qr/Circular reference in simple_circ/,
+         "Checking circular dynamic variables." );
+     eval {$app->get_circ};
+-    like( $@, qr/Circular reference in prolog/,
++    like( $@, qr/Circular reference in (?:prolog|circ|cows_are_good)/,
+         "Checking circular dynamic variables." );
+     eval {$app->get_bigcirc};
+     like( $@, qr/Circular reference in thing/,
diff --git a/debian/patches/series b/debian/patches/series
index fc442a8..41af9b2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 no-UNIVERSAL-import.patch
 fix-POD-errors.patch
 qw-parenthesis.patch
+hash-random-test-fix.patch
-- 
1.7.10.4



More information about the pkg-perl-maintainers mailing list