diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-23 11:44:47 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-23 11:44:47 +0000 |
commit | 6503964dad4555a9999c449dde6d499fa97a2f2e (patch) | |
tree | ce4990df663f9b1f2a26f23dbfb3177e98b97636 /Test | |
parent | fcd2c9243fcb0e29098da9d9f815373d73d6b192 (diff) | |
download | zsh-6503964dad4555a9999c449dde6d499fa97a2f2e.tar.gz zsh-6503964dad4555a9999c449dde6d499fa97a2f2e.tar.xz zsh-6503964dad4555a9999c449dde6d499fa97a2f2e.zip |
John Buddery: 23461: fix race setting up input multios
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E01options.ztst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 0ce82b3ab..5bbf1b590 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -667,6 +667,16 @@ >hello >hello +# This tests for another race in multios. + print 'This test hangs the shell when it fails...' >&8 + setopt multios + echo These are the contents of the file >multio_race.out + multio_race_fn() { cat; } + multio_race_fn <$(echo multio_race.out multio_race.out) +0:Fix for race with input multios +>These are the contents of the file +>These are the contents of the file + # tried this with other things, but not on its own, so much. unsetopt nomatch print with nonomatch: flooble* |