diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-03-06 21:37:38 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-03-06 21:37:38 +0000 |
commit | 7bc97b920b74e7d9046c8a4489ecd0a0e646bdde (patch) | |
tree | 32c7eb735bf59014eaea142c2fefd085172f69b3 /Test | |
parent | 1a3612f119a6082031203ffb3208eec865adc12f (diff) | |
download | zsh-7bc97b920b74e7d9046c8a4489ecd0a0e646bdde.tar.gz zsh-7bc97b920b74e7d9046c8a4489ecd0a0e646bdde.tar.xz zsh-7bc97b920b74e7d9046c8a4489ecd0a0e646bdde.zip |
28866: with POSIX_BUILTINS "command" prefix resets specialness
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A04redirect.ztst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index 9340b71f0..4d96d8bb9 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -386,6 +386,13 @@ ?zsh:2: no such file or directory: /nonexistent/nonexistent $ZTST_testdir/../Src/zsh -f -o POSIX_BUILTINS -c ' + command set >/nonexistent/nonexistent + echo output' +0:failed special builtin redir with command prefix, POSIX_BUILTINS +>output +?zsh:2: no such file or directory: /nonexistent/nonexistent + + $ZTST_testdir/../Src/zsh -f -o POSIX_BUILTINS -c ' echo >/nonexistent/nonexistent echo output' 0:failed unspecial builtin redir, POSIX_BUILTINS |