mirror of
https://github.com/zsh-users/zsh
synced 2024-10-14 11:53:24 +00:00
35761: Make sure to skip alternate format extension test properly
This commit is contained in:
parent
541e7ad68c
commit
653761fe28
|
@ -1,3 +1,8 @@
|
|||
2015-07-10 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 35761: Test/V09datetime.ztst: Make sure to skip alternate
|
||||
format extension test properly
|
||||
|
||||
2015-07-10 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* unpsoted: another ZTST_skip.
|
||||
|
|
|
@ -8,13 +8,8 @@
|
|||
unset LC_ALL
|
||||
LC_TIME=C
|
||||
TZ=UTC+0
|
||||
if [[ "$(strftime %04y 1)" = "0070" ]]; then
|
||||
[[ "$(LC_TIME=ja_JP.UTF-8 strftime %OS 1)" = 一 ]] || {
|
||||
skip_japanese=1
|
||||
}
|
||||
else
|
||||
skip_extensions=1
|
||||
fi
|
||||
[[ "$(strftime %04y 1)" = "0070" ]] || skip_extensions=1
|
||||
[[ "$(LC_TIME=ja_JP.UTF-8 strftime %OS 1)" = 一 ]] || skip_japanese=1
|
||||
|
||||
%test
|
||||
|
||||
|
@ -34,7 +29,9 @@
|
|||
>6_6_3_3
|
||||
>000000
|
||||
|
||||
if [[ $skip_japanese = 1 ]]; then
|
||||
if [[ $skip_extensions = 1 ]]; then
|
||||
ZTST_skip="strftime extensions not supported"
|
||||
elif [[ $skip_japanese = 1 ]]; then
|
||||
ZTST_skip="Japanese UTF-8 locale not supported"
|
||||
else
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue