From 6503964dad4555a9999c449dde6d499fa97a2f2e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 23 May 2007 11:44:47 +0000 Subject: John Buddery: 23461: fix race setting up input multios --- Test/E01options.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test') 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* -- cgit 1.4.1