mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-12 22:15:43 +00:00
d2b1ba6fde
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>
22 lines
455 B
Bash
Executable File
22 lines
455 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright 2008 by Denys Vlasenko
|
|
# Licensed under GPL v2, see file LICENSE for details.
|
|
|
|
. ./testing.sh
|
|
|
|
# testing "test name" "options" "expected result" "file input" "stdin"
|
|
|
|
testing "expand" \
|
|
"expand" \
|
|
" 12345678 12345678\n" \
|
|
"" \
|
|
"\t12345678\t12345678\n" \
|
|
|
|
testing "expand with unicode characher 0x394" \
|
|
"expand" \
|
|
"Δ 12345ΔΔΔ 12345678\n" \
|
|
"" \
|
|
"Δ\t12345ΔΔΔ\t12345678\n" \
|
|
|
|
exit $FAILCOUNT
|