aboutsummaryrefslogtreecommitdiff
path: root/scripts/test/wc.test
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2012-11-21 20:38:29 +0100
committerFelix Janda <felix.janda@posteo.de>2012-11-21 20:38:29 +0100
commit250e0055fe0596f0f13d6e30f0bfe086702f5a25 (patch)
tree287e906cfd510fbc9fa52c47829814d4e4cba3e8 /scripts/test/wc.test
parentde51192c854d20b19d25daedca9e7ecdc72e13f1 (diff)
downloadtoybox-250e0055fe0596f0f13d6e30f0bfe086702f5a25.tar.gz
Make internalization support optional
Diffstat (limited to 'scripts/test/wc.test')
-rwxr-xr-xscripts/test/wc.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/test/wc.test b/scripts/test/wc.test
index 801cd713..40891323 100755
--- a/scripts/test/wc.test
+++ b/scripts/test/wc.test
@@ -21,6 +21,8 @@ testing "wc format" "wc file1" "4 5 26 file1\n" "" ""
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