1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 04:46:08 +02:00

11096: Use C locale for tests

This commit is contained in:
Peter Stephenson 2000-05-03 09:24:47 +00:00
parent 43e44f06b7
commit e6a6cab83c
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-05-03 Peter Stephenson <pws@cambridgesiliconradio.com>
* 11096: Test/ztst.zsh, Test/13parameter.ztst: fix test output
for C locale and ensure C locale is used
2000-05-03 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
* 11094: Doc/Zsh/compsys.yo: more doc fixes

View File

@ -229,9 +229,9 @@
print ${(O)foo}
print ${(Oi)foo}
0:${(o)...}, ${(O)...}
>I I be could programme recorded that watching
>be could I I programme recorded that watching
>be could I I programme recorded that watching
>watching that recorded programme I I could be
>watching that recorded programme could be I I
>watching that recorded programme I I could be
foo=(yOU KNOW, THE ONE WITH wILLIAM dALRYMPLE)

View File

@ -22,6 +22,11 @@
# still not be good enough. Maybe we should trick it somehow.
emulate -R zsh
# Ensure the locale does not screw up sorting. Don't supply a locale
# unless there's one set, to minimise problems.
[[ -n $LC_ALL ]] && LC_ALL=C
[[ -n $LANG ]] && LANG=C
# Set the module load path to correspond to this build of zsh.
# This Modules directory should have been created by "make check".
[[ -d Modules/zsh ]] && module_path=( $PWD/Modules )