From 691be6d0fcf43bf21a9c4c3122380fb4f92db055 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 25 Mar 2010 15:13:35 +0000 Subject: unposted: change new test in A02alias.ztst to use cat --- ChangeLog | 5 ++++- Test/A02alias.ztst | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index aeb2bb6ae..d37eb8daa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-03-25 Peter Stephenson + * unposted: Test/A02alias.ztst: change sort to cat to + make test foolerproof. + * 27827: Src/input.c, Test/A02alias.ztst: infinite loop if alias with recursive definition occurred at end of parsed string (normal shell input was OK). @@ -12965,5 +12968,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4944 $ +* $Revision: 1.4945 $ ***************************************************** diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst index 67ae8e52f..7121c50ef 100644 --- a/Test/A02alias.ztst +++ b/Test/A02alias.ztst @@ -38,7 +38,7 @@ >With print -u $ZTST_fd 'This test hangs the shell when it fails...' - alias sort='LC_ALL=C sort' - cat <(echo foo | sort) + alias cat='LC_ALL=C cat' + cat <(echo foo | cat) 0:Alias expansion works at the end of parsed strings >foo -- cgit 1.4.1