X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=testsuite%2Ffold.tests;h=ecf8b9caac83abb2cd2715646dee0bfa8a3c9b52;hb=eced0c78a54bbecc61f1717d33f64ee7d99804bb;hp=0197d024d8192ac0920b51fa9b3a26b0f2a0c85f;hpb=e3d90a90d43b857a5305808560d485b030a15c0a;p=oweals%2Fbusybox.git diff --git a/testsuite/fold.tests b/testsuite/fold.tests index 0197d024d..ecf8b9caa 100755 --- a/testsuite/fold.tests +++ b/testsuite/fold.tests @@ -1,8 +1,9 @@ #!/bin/sh # Copyright 2009 by Denys Vlasenko -# Licensed under GPL v2, see file LICENSE for details. +# Licensed under GPLv2, see file LICENSE in this source tree. . ./testing.sh +test -f "$bindir/.config" && . "$bindir/.config" # testing "test name" "options" "expected result" "file input" "stdin" @@ -28,9 +29,10 @@ be preserved is here:>\0< - they must be preserved " \ -optional UNICODE_SUPPORT # The text was taken from English and Ukrainian wikipedia pages -testing "fold -sw66 with unicode input" "fold -sw66" \ +test x"$CONFIG_UNICODE_SUPPORT" = x"y" \ +&& test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \ +&& testing "fold -sw66 with unicode input" "fold -sw66" \ "\ The Andromeda Galaxy (pronounced /ænˈdrɒmədə/, also known as \n\ Messier 31, M31, or NGC224; often referred to as the Great \n\ @@ -56,6 +58,5 @@ Way. спіральна галактика, що знаходиться на відстані приблизно у 2,5 \ мільйони світлових років від нашої планети у сузір'ї Андромеди. \ На початку ХХІ ст. в центрі галактики виявлено чорну дірку." -SKIP= exit $FAILCOUNT