Blob Blame History Raw
From 2b578a8e1c8e6c7d780418fa05d3293771cc0f62 Mon Sep 17 00:00:00 2001
From: Philip Kime <Philip@kime.org.uk>
Date: Mon, 22 Jun 2015 09:50:39 +0200
Subject: [PATCH] Test fixes for Fedora

---
 t/sort-complex.t | 1 +
 t/sort-order.t   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/t/sort-complex.t b/t/sort-complex.t
index 3bd580c..650d40e 100755
--- a/t/sort-complex.t
+++ b/t/sort-complex.t
@@ -240,6 +240,7 @@ Biber::Config->setoption('sourcemap', undef); # no longer ignore shorthand*
 $bibentries->del_entries;
 $section->del_everykeys;
 Biber::Input::file::bibtex->init_cache;
+Biber::Config->setoption('sortlocale', 'en_GB.UTF-8');
 $biber->prepare;
 $section = $biber->sections->get_section(0);
 $shs = $biber->sortlists->get_list(0, 'shorthands', 'list', 'shorthands');
diff --git a/t/sort-order.t b/t/sort-order.t
index 27c5bf5..4e9ad5d 100755
--- a/t/sort-order.t
+++ b/t/sort-order.t
@@ -496,9 +496,9 @@ $S = { spec => [
 $main->set_sortscheme($S);
 
 $biber->set_output_obj(Biber::Output::bbl->new());
-# Have to set locale to something which understand lexical/case differences for this test
+# Have to set locale to something which understands lexical/case differences for this test
 # otherwise testing on Windows doesn't work ...
-Biber::Config->setoption('sortlocale', 'en_GB.UTF-8');
+Biber::Config->setoption('sortlocale', 'en_US.UTF-8');
 $biber->prepare;
 $section = $biber->sections->get_section(0);
 is_deeply([$main->get_keys], ['L1B','L1','L1A','L2','L3','L4','L5','L7','L8','L9','L6'], 'location - sortcase=1');
-- 
2.5.0