diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2022-03-03 19:19:35 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2022-03-03 19:19:35 +0000 |
commit | 1640457f4755a4a5248f5e9c0106fa01f8f1e9ff (patch) | |
tree | 17e020e967e53bd2dd04c9a1604dede4a6eb2064 /Test | |
parent | 2be2efc122b70a84a9debeaf0a11b99e11df3758 (diff) | |
download | zsh-1640457f4755a4a5248f5e9c0106fa01f8f1e9ff.tar.gz zsh-1640457f4755a4a5248f5e9c0106fa01f8f1e9ff.tar.xz zsh-1640457f4755a4a5248f5e9c0106fa01f8f1e9ff.zip |
49792: Non-interative shell input is line buffered.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A01grammar.ztst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 4e39a8f3c..0312fe94e 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -961,3 +961,12 @@ F:Note that the behaviour of 'exit' inside try-list inside a function is unspeci F:This test was written to ensure the behaviour doesn't change silently. F:If this test fails during development, it *might* be appropriate to change F:its expectations. + + ( + export VALUE=first + print -l 'echo Value is $VALUE' 'VALUE=second sh' 'echo Value is $VALUE' | + $ZTST_testdir/../Src/zsh -f + ) +0:Non-interactive shell command input is line buffered +>Value is first +>Value is second |