about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-11-14 17:30:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-11-14 17:30:07 +0000
commit991c83ab343917b904ed7fd47a39e8517e15dcd1 (patch)
tree06dbb4726cfe75ef04878b1145de32c616f2aa84 /Test
parentf15627d17b8bbf8c6c3623844be509b544d8a9f6 (diff)
downloadzsh-991c83ab343917b904ed7fd47a39e8517e15dcd1.tar.gz
zsh-991c83ab343917b904ed7fd47a39e8517e15dcd1.tar.xz
zsh-991c83ab343917b904ed7fd47a39e8517e15dcd1.zip
19105 shout if interactive without terminal.
19167: BRACE_CCL range with NULL at start.
19168: Sizes using ztrftime were inconsistent.
Ports from main line.
Diffstat (limited to 'Test')
-rw-r--r--Test/E01options.ztst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 99f9f6fae..7b520078e 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -154,6 +154,19 @@
 >a b c d
 >{abcd}
 
+# Don't use NUL as a field separator in the following.
+  setopt braceccl
+  print {$'\0'-$'\5'} | IFS=' ' read -A chars
+  for c in $chars; do print $(( #c )); done
+  unsetopt braceccl
+0:BRACE_CCL option starting from NUL
+>0
+>1
+>2
+>3
+>4
+>5
+
   setopt bsdecho
   echo "histon\nimpington"
   echo -e "girton\ncottenham"