summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-11-12 10:55:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-11-12 10:55:18 +0000
commit626286a5f72f8d9fa883a26f676c0e31977d7770 (patch)
treea501eeee174d2e02bdc1ec515af28c13ef81d44b
parent085419f95d8fd93b3b2ead550512030f22a16a8f (diff)
downloadzsh-626286a5f72f8d9fa883a26f676c0e31977d7770.tar.gz
zsh-626286a5f72f8d9fa883a26f676c0e31977d7770.tar.xz
zsh-626286a5f72f8d9fa883a26f676c0e31977d7770.zip
26029: test for redirection with no preceding whitespace
-rw-r--r--ChangeLog7
-rw-r--r--Test/A04redirect.ztst18
2 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 105592ae6..1bd0f616b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,15 @@
+2008-11-12  Peter Stephenson  <pws@csr.com>
+
+	* 26029: Test/A04redirect.ztst: add test for redirection operators
+	with no preceding whitespace.
+
 2008-11-11  Oliver Kiddle  <opk@zsh.org>
 
 	* 26024: Src/Zle/zle_keymap.c: don't leave reference count
 	incremented when aborting bindkey with an error
 
 2008-11-11  Clint Adams  <clint@zsh.org>
-
+preceding
 	* 26027: Src/Zle/compctl.c: free pprogc before it goes out of
 	scope in makecomplistflags.
 
diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst
index e27442c25..f69686338 100644
--- a/Test/A04redirect.ztst
+++ b/Test/A04redirect.ztst
@@ -344,3 +344,21 @@
 0:Optimised here-string to filename
 >This string has been replaced
 >by a file containing it.
+
+  print This f$'\x69'le contains d$'\x61'ta. >redirfile
+  print redirection:
+  cat<redirfile>outfile
+  print output:
+  cat outfile
+  print append:
+  cat>>outfile<redirfile
+  print more output:
+  cat outfile
+0:Parsing of redirection operators (no space required before operators)
+>redirection:
+>output:
+>This file contains data.
+>append:
+>more output:
+>This file contains data.
+>This file contains data.