summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/D07multibyte.ztst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index dedf2417a..1b1d042a8 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -562,3 +562,20 @@
}
: $functions)
0:Multibtye handled of functions parameter
+
+ if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.utf8]} ]]; then
+ (
+ export LC_ALL=pl_PL.UTF-8
+ local -a names=(a b c d e f $'\u0105' $'\u0107' $'\u0119')
+ print -o $names
+ mkdir -p plchars
+ cd plchars
+ touch $names
+ print ?
+ )
+ else
+ ZTST_skip="No Polish UTF-8 local found, skipping sort test"
+ fi
+0:Sorting of metafied Polish characters
+>a ą b c ć d e ę f
+>a ą b c ć d e ę f