summaryrefslogtreecommitdiff
path: root/perl-convert-bencode_xs/test-order.patch
diff options
context:
space:
mode:
Diffstat (limited to 'perl-convert-bencode_xs/test-order.patch')
-rw-r--r--perl-convert-bencode_xs/test-order.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl-convert-bencode_xs/test-order.patch b/perl-convert-bencode_xs/test-order.patch
new file mode 100644
index 000000000..6320ddf56
--- /dev/null
+++ b/perl-convert-bencode_xs/test-order.patch
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- t/001_tests.t.orig Sat Nov 15 14:41:13 2014
++++ t/001_tests.t Sat Nov 15 14:41:27 2014
+@@ -109,6 +109,7 @@ SKIP: {
+ #we use Storable so we do not rely on bencode
+ eval q{use Storable qw(freeze)};
+ skip "Storable not available", 12 if $@;
++ local $Storable::canonical = 1;
+ local $Convert::Bencode_XS::COERCE = 0;
+ is( freeze(bdecode('le')), freeze([]) );
+ is( freeze(bdecode('l0:0:0:e')), freeze(['', '', '']) );