summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-03-25 14:03:40 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-03-25 14:03:40 +0000
commite71df91bd2cce6c06de8666fc04b695bae3c8f95 (patch)
tree3d9105e4b014f578302e344359cb1b2092932f81 /Test
parentc2fdffa316b8a67bc4bc61a0f5c68ecc27a68b6b (diff)
downloadzsh-e71df91bd2cce6c06de8666fc04b695bae3c8f95.tar.gz
zsh-e71df91bd2cce6c06de8666fc04b695bae3c8f95.tar.xz
zsh-e71df91bd2cce6c06de8666fc04b695bae3c8f95.zip
27827: fix infinite loop in recursive alias at end of parsed string
Diffstat (limited to 'Test')
-rw-r--r--Test/A02alias.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst
index 231e13771..67ae8e52f 100644
--- a/Test/A02alias.ztst
+++ b/Test/A02alias.ztst
@@ -36,3 +36,9 @@
 >Without
 >This command has the argument true
 >With
+
+  print -u $ZTST_fd 'This test hangs the shell when it fails...'
+  alias sort='LC_ALL=C sort'
+  cat <(echo foo | sort)
+0:Alias expansion works at the end of parsed strings
+>foo