| # Copyright 2010 by Denys Vlasenko |
| # Licensed under GPLv2, see file LICENSE in this source tree. |
| test -f "$bindir/.config" && . "$bindir/.config" |
| # testing "test name" "command" "expected result" "file input" "stdin" |
| testing "cal 2000" "cal 1 2000" "\ |
| test x"$CONFIG_LOCALE_SUPPORT" = x"y" \ |
| && test x"$CONFIG_UNICODE_SUPPORT" = x"y" \ |
| && test x"$CONFIG_LAST_SUPPORTED_WCHAR" = x"0" \ |
| && test x"$CONFIG_UNICODE_WIDE_WCHARS" = x"y" \ |
| && test x"$CONFIG_STATIC" != x"y" \ |
| && test x"$CONFIG_CROSS_COMPILER_PREFIX" = x"" \ |
| && testing "unicode cal 2000" "LANG=zh_TW.utf8 cal 1 2000" "\ |