about summary refs log tree commit diff
path: root/Test/A04redirect.ztst
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 /Test/A04redirect.ztst
parent085419f95d8fd93b3b2ead550512030f22a16a8f (diff)
downloadzsh-626286a5f72f8d9fa883a26f676c0e31977d7770.tar.gz
zsh-626286a5f72f8d9fa883a26f676c0e31977d7770.tar.xz
zsh-626286a5f72f8d9fa883a26f676c0e31977d7770.zip
26029: test for redirection with no preceding whitespace
Diffstat (limited to 'Test/A04redirect.ztst')
-rw-r--r--Test/A04redirect.ztst18
1 files changed, 18 insertions, 0 deletions
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.