summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTomas Heinrich2010-01-04 16:21:31 +0100
committerDenys Vlasenko2010-01-04 16:21:31 +0100
commitd2b1ba6fdee59645763e915ade3ec55e67d5839a (patch)
tree9b1a97996255647452851908dc76e4e91a57420b /testsuite
parent4928f3b90b3925e6f3cc234df48e46f88fc5689b (diff)
downloadbusybox-d2b1ba6fdee59645763e915ade3ec55e67d5839a.zip
busybox-d2b1ba6fdee59645763e915ade3ec55e67d5839a.tar.gz
[un]expand: unicode support
function old new delta expand_main 633 663 +30 Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/expand.tests6
-rwxr-xr-xtestsuite/unexpand.tests3
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/expand.tests b/testsuite/expand.tests
index 57498a2..9966314 100755
--- a/testsuite/expand.tests
+++ b/testsuite/expand.tests
@@ -12,4 +12,10 @@ testing "expand" \
"" \
"\t12345678\t12345678\n" \
+testing "expand with unicode characher 0x394" \
+ "expand" \
+ "Δ 12345ΔΔΔ 12345678\n" \
+ "" \
+ "Δ\t12345ΔΔΔ\t12345678\n" \
+
exit $FAILCOUNT
diff --git a/testsuite/unexpand.tests b/testsuite/unexpand.tests
index 5c82a1e..5c2a29b 100755
--- a/testsuite/unexpand.tests
+++ b/testsuite/unexpand.tests
@@ -27,4 +27,7 @@ testing "unexpand case 6" "unexpand" \
testing "unexpand case 7" "unexpand" \
"123\t 45678\n" "" "123 \t 45678\n" \
+testing "unexpand with unicode characher 0x394" "unexpand" \
+ "1ΔΔΔ5\t99999\n" "" "1ΔΔΔ5 99999\n" \
+
exit $FAILCOUNT