about summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2006-09-22 19:34:05 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2006-09-22 19:34:05 +0000
commit4e576c069c36bd31c6bbd57ba661361cb29274c9 (patch)
tree9a395bd9be23d7d3384a18c0b0b2b516e2218051 /Test/E01options.ztst
parent4fdf7ec7b77c4238becf70755770a5853164c61e (diff)
downloadzsh-4e576c069c36bd31c6bbd57ba661361cb29274c9.tar.gz
zsh-4e576c069c36bd31c6bbd57ba661361cb29274c9.tar.xz
zsh-4e576c069c36bd31c6bbd57ba661361cb29274c9.zip
22758: fix tests by setting locale to C
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index da4020c15..f407ecb6b 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -195,6 +195,8 @@
 >8#21
 >023
 
+  # now-a-days cd can easily be localized. Force default (POSIX) locale
+  LC_ALL=C LC_MESSAGES=C
   setopt cdablevars
   # only absolute paths are eligible for ~-expansion
   cdablevar1=tmpcd
@@ -207,8 +209,8 @@
   cd cdablevar2
 1q:CDABLE_VARS option
 >back in options.tmp
-?(eval):cd:4: no such file or directory: cdablevar1
-?(eval):cd:10: no such file or directory: cdablevar2
+?(eval):cd:6: no such file or directory: cdablevar1
+?(eval):cd:12: no such file or directory: cdablevar2
 
 # CHASE_DOTS should go with CHASE_LINKS in B01cd.ztst
 # which saves me having to write it here.