Remove sorting which may rely on LOCALE of machine

Here we fixed an integration test that will fail on any machine with a console 
locale set to a euro-based numbering system. So for example de-DE and fr-FR 
locales would fail this test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/2cc9996b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/2cc9996b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/2cc9996b

Branch: refs/heads/master
Commit: 2cc9996b4ed9e71ae4998a0db3eaef9586b0c69d
Parents: cadd987
Author: Felix Hieber <[email protected]>
Authored: Tue Mar 29 16:55:07 2016 +0200
Committer: Kellen Sunderland <[email protected]>
Committed: Thu Mar 31 10:44:43 2016 +0200

----------------------------------------------------------------------
 test/lattice-short/test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/2cc9996b/test/lattice-short/test.sh
----------------------------------------------------------------------
diff --git a/test/lattice-short/test.sh b/test/lattice-short/test.sh
index ecae1e2..c10b2a2 100755
--- a/test/lattice-short/test.sh
+++ b/test/lattice-short/test.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-cat input | $JOSHUA/bin/joshua-decoder -m 500m -config joshua.config 2> log | 
sort > output
+cat input | $JOSHUA/bin/joshua-decoder -m 500m -config joshua.config 2> log > 
output
 
 if [[ $? -ne 0 ]]; then
        exit 1

Reply via email to