[un]expand: unicode support
[platform/upstream/busybox.git] / testsuite / expand.tests
1 #!/bin/sh
2 # Copyright 2008 by Denys Vlasenko
3 # Licensed under GPL v2, see file LICENSE for details.
4
5 . ./testing.sh
6
7 # testing "test name" "options" "expected result" "file input" "stdin"
8
9 testing "expand" \
10         "expand" \
11         "        12345678        12345678\n" \
12         "" \
13         "\t12345678\t12345678\n" \
14
15 testing "expand with unicode characher 0x394" \
16         "expand" \
17         "Δ       12345ΔΔΔ        12345678\n" \
18         "" \
19         "Δ\t12345ΔΔΔ\t12345678\n" \
20
21 exit $FAILCOUNT