diff options
Diffstat (limited to 'testsuite/fold.tests')
-rwxr-xr-x | testsuite/fold.tests | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/fold.tests b/testsuite/fold.tests index 0197d024d..e5700cc2b 100755 --- a/testsuite/fold.tests +++ b/testsuite/fold.tests | |||
@@ -3,6 +3,7 @@ | |||
3 | # Licensed under GPL v2, see file LICENSE for details. | 3 | # Licensed under GPL v2, see file LICENSE for details. |
4 | 4 | ||
5 | . ./testing.sh | 5 | . ./testing.sh |
6 | test -f "$bindir/.config" && . "$bindir/.config" | ||
6 | 7 | ||
7 | # testing "test name" "options" "expected result" "file input" "stdin" | 8 | # testing "test name" "options" "expected result" "file input" "stdin" |
8 | 9 | ||
@@ -28,9 +29,10 @@ be preserved | |||
28 | is here:>\0< - they must be preserved | 29 | is here:>\0< - they must be preserved |
29 | " \ | 30 | " \ |
30 | 31 | ||
31 | optional UNICODE_SUPPORT | ||
32 | # The text was taken from English and Ukrainian wikipedia pages | 32 | # The text was taken from English and Ukrainian wikipedia pages |
33 | testing "fold -sw66 with unicode input" "fold -sw66" \ | 33 | test x"$CONFIG_UNICODE_SUPPORT" = x"y" \ |
34 | && test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \ | ||
35 | && testing "fold -sw66 with unicode input" "fold -sw66" \ | ||
34 | "\ | 36 | "\ |
35 | The Andromeda Galaxy (pronounced /ænˈdrɒmədə/, also known as \n\ | 37 | The Andromeda Galaxy (pronounced /ænˈdrɒmədə/, also known as \n\ |
36 | Messier 31, M31, or NGC224; often referred to as the Great \n\ | 38 | Messier 31, M31, or NGC224; often referred to as the Great \n\ |
@@ -56,6 +58,5 @@ Way. | |||
56 | спіральна галактика, що знаходиться на відстані приблизно у 2,5 \ | 58 | спіральна галактика, що знаходиться на відстані приблизно у 2,5 \ |
57 | мільйони світлових років від нашої планети у сузір'ї Андромеди. \ | 59 | мільйони світлових років від нашої планети у сузір'ї Андромеди. \ |
58 | На початку ХХІ ст. в центрі галактики виявлено чорну дірку." | 60 | На початку ХХІ ст. в центрі галактики виявлено чорну дірку." |
59 | SKIP= | ||
60 | 61 | ||
61 | exit $FAILCOUNT | 62 | exit $FAILCOUNT |