summaryrefslogtreecommitdiff
path: root/perl-convert-bencode_xs/test-order.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-24 08:56:19 +0200
committerErich Eckner <git@eckner.net>2016-05-24 08:56:19 +0200
commit503bce880b16a6688ed44f730a8b3b3b5697b47b (patch)
tree249d27ab7cb12af4298268574b4a8830acc359ae /perl-convert-bencode_xs/test-order.patch
parent75e58e5ee29dca948957ca02914e413ac7efb9d9 (diff)
downloadarchlinuxewe-503bce880b16a6688ed44f730a8b3b3b5697b47b.tar.xz
perl-convert-bencode_xs tests repariert
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(['', '', '']) );