summaryrefslogtreecommitdiff
path: root/Test/D02glob.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-07-25 18:10:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-07-25 18:10:37 +0000
commit09bc7ee2b56239020d1ef6bb1f5d7b4ef9f19db1 (patch)
tree9a1e2155b0feb322eb32c8ee14d252ffc0607388 /Test/D02glob.ztst
parentb9bf52d1fc750633189c3d25182edc95ffdbcb19 (diff)
downloadzsh-09bc7ee2b56239020d1ef6bb1f5d7b4ef9f19db1.tar.gz
zsh-09bc7ee2b56239020d1ef6bb1f5d7b4ef9f19db1.zip
22557: turn on multibyte option by default
Diffstat (limited to 'Test/D02glob.ztst')
-rw-r--r--Test/D02glob.ztst9
1 files changed, 7 insertions, 2 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index 409a73e30..7c76414f0 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -6,7 +6,9 @@
mkdir glob.tmp/dir3/subdir
: >glob.tmp/{,{dir1,dir2}/}{a,b,c}
- globtest () { $ZTST_testdir/../Src/zsh -f $ZTST_srcdir/../Misc/$1 }
+ globtest () {
+ $ZTST_testdir/../Src/zsh -f $ZTST_srcdir/../Misc/$1
+ }
regress_absolute_path_and_core_dump() {
local absolute_dir=$(cd glob.tmp && pwd -P)
@@ -175,7 +177,6 @@
>1: [[ path/testy = *((#s)|/)test((#e)|/)* ]]
>1: [[ path/testy/ohyes = *((#s)|/)test((#e)|/)* ]]
>1: [[ path/atest/ohyes = *((#s)|/)test((#e)|/)* ]]
->0: [[ björn = *[åäöÅÄÖ]* ]]
>0 tests failed.
globtest globtests.ksh
@@ -263,6 +264,10 @@
>0: [[ Modules = (#i)*m* ]]
>0 tests failed.
+ (unsetopt multibyte
+ [[ björn = *[åäöÅÄÖ]* ]])
+0:single byte match with top bit set
+
( regress_absolute_path_and_core_dump )
0:exclusions regression test
>