diff options
author | Denys Vlasenko | 2010-07-05 21:37:12 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-07-05 21:37:12 +0200 |
commit | 9297dbc9d285e823af59c443e0123cb99577569a (patch) | |
tree | 134bb16eaaa4f0a7148aed3a78c7c797108e6568 /testsuite/unexpand.tests | |
parent | 08f0b784fd4351929090c877605762d664e70098 (diff) | |
download | busybox-9297dbc9d285e823af59c443e0123cb99577569a.zip busybox-9297dbc9d285e823af59c443e0123cb99577569a.tar.gz |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/unexpand.tests')
-rwxr-xr-x | testsuite/unexpand.tests | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/unexpand.tests b/testsuite/unexpand.tests index a48e321..0727884 100755 --- a/testsuite/unexpand.tests +++ b/testsuite/unexpand.tests @@ -3,6 +3,7 @@ # Licensed under GPL v2, see file LICENSE for details. . ./testing.sh +test -f "$bindir/.config" && . "$bindir/.config" # testing "test name" "options" "expected result" "file input" "stdin" @@ -30,9 +31,10 @@ testing "unexpand case 7" "unexpand" \ testing "unexpand case 8" "unexpand" \ "a b\n" "" "a b\n" \ -optional UNICODE_SUPPORT +test x"$CONFIG_UNICODE_SUPPORT" = x"y" \ +&& test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \ +&& test "$CONFIG_LAST_SUPPORTED_WCHAR" -gt "916" \ testing "unexpand with unicode characher 0x394" "unexpand" \ "1ΔΔΔ5\t99999\n" "" "1ΔΔΔ5 99999\n" -SKIP= exit $FAILCOUNT |