Mercurial > hg > toybox
diff scripts/test/wc.test @ 710:cfdaead45479
Make internalization support optional
author | Felix Janda <felix.janda@posteo.de> |
---|---|
date | Wed, 21 Nov 2012 20:38:29 +0100 |
parents | 9414be56b1db |
children |
line wrap: on
line diff
--- a/scripts/test/wc.test Sun Nov 25 14:40:25 2012 -0600 +++ b/scripts/test/wc.test Wed Nov 21 20:38:29 2012 +0100 @@ -21,6 +21,8 @@ testing "wc multiple files" "wc input - file1" \ "1 2 3 input\n0 2 3 -\n4 5 26 file1\n5 9 32 total\n" "a\nb" "a b" +optional TOYBOX_I18N + #Tests for wc -m if printf "%s" "$LANG" | grep -q UTF-8 then