about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.