summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-10-18 16:03:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-10-18 16:03:17 +0000
commit96a1f68875132a63a408902bf25e99d40fb14a89 (patch)
tree594bd47db07d0aa372e1fdb5ec820311a42a4dd9
parent802cdd4f5e822ffdb2f895943a27b4ca88c9a9f2 (diff)
downloadzsh-96a1f68875132a63a408902bf25e99d40fb14a89.tar.gz
zsh-96a1f68875132a63a408902bf25e99d40fb14a89.tar.xz
zsh-96a1f68875132a63a408902bf25e99d40fb14a89.zip
25911: see if we can work around multibyte problems in file system
-rw-r--r--ChangeLog5
-rw-r--r--Test/D07multibyte.ztst15
2 files changed, 11 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d53aaa6b..fc5fbbb3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-18  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 25911: Test/D07multibyte.ztst: see if we can work around file
+	system idiosyncracies.
+
 2008-10-18  Clint Adams  <clint@zsh.org>
 
 	* 25910: Src/builtin.c: avoid dangling file handle in bin_print.
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index 1273b6200..f8b00fb88 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -396,13 +396,10 @@
 >OK
 >OK
 
-  mkdir glob
-  mkdir glob/'()Ą' glob/'()Ā'
-  mkdir glob/'()Ą'/foo glob/'()Ā'/bar
-  tmp1=('glob/\(\)Ą/*')
-  print $~tmp1
-  tmp1=('glob/\(\)Ā/*')
-  print $~tmp1
+  tmp1='glob/\(\)Ą/*'
+  [[ glob/'()Ą'/foo == $~tmp1 ]] && print "Matched against $tmp1"
+  tmp1='glob/\(\)Ā/*'
+  [[ glob/'()Ā'/bar == $~tmp1 ]] && print "Matched against $tmp1"
 0:Backslashes and metafied characters in patterns
->glob/()Ą/foo
->glob/()Ā/bar
+>Matched against glob/()Ą/*
+>Matched against glob/()Ā/*