From e6a6cab83cf81e1cae7417d4555ed58514375ef1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 3 May 2000 09:24:47 +0000 Subject: 11096: Use C locale for tests --- ChangeLog | 5 +++++ Test/13parameter.ztst | 4 ++-- Test/ztst.zsh | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37b3b1e28..d85d779ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-03 Peter Stephenson + + * 11096: Test/ztst.zsh, Test/13parameter.ztst: fix test output + for C locale and ensure C locale is used + 2000-05-03 Sven Wischnowsky * 11094: Doc/Zsh/compsys.yo: more doc fixes diff --git a/Test/13parameter.ztst b/Test/13parameter.ztst index a6e1dd2d9..872f0d3f0 100644 --- a/Test/13parameter.ztst +++ b/Test/13parameter.ztst @@ -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) diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 32217bb3d..69306cb81 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -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 ) -- cgit 1.4.1