diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-03-25 09:57:23 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-03-25 09:57:23 -0700 |
commit | 158484941ac1ff20ce93e4aff46fef6cd22dbf91 (patch) | |
tree | b2e55fe411ce0d1ee74b1f26d2e7f761669b840b /Test/W01history.ztst | |
parent | 13bad92fd85c4e4a3077080606f6ad6217b29bd5 (diff) | |
download | zsh-158484941ac1ff20ce93e4aff46fef6cd22dbf91.tar.gz zsh-158484941ac1ff20ce93e4aff46fef6cd22dbf91.tar.xz zsh-158484941ac1ff20ce93e4aff46fef6cd22dbf91.zip |
34774: fix %prep and use read from a no-op pipe to force wait for the timeout
Diffstat (limited to 'Test/W01history.ztst')
-rw-r--r-- | Test/W01history.ztst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/W01history.ztst b/Test/W01history.ztst index 2492c418f..3a64530c5 100644 --- a/Test/W01history.ztst +++ b/Test/W01history.ztst @@ -2,7 +2,7 @@ %prep - [[ -t 0 ]] && print -u $ZTST_fd History tests write to /dev/tty + if [[ -t 0 ]]; then print -u $ZTST_fd History tests write to /dev/tty; fi %test |