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