From 94da86f7956af9d6855c12d79d757b961bf0c2a4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 2 May 2003 10:25:27 +0000 Subject: 18492: Provide partial fix for multios and output process substitution asynchronicity problem. Document workarounds for remaining problems. --- Test/A04redirect.ztst | 12 ++---------- Test/D03procsubst.ztst | 4 ++-- 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'Test') diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index 2c3bd12ca..bf0d23a13 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -137,16 +137,10 @@ >errout: >Output -# Following two tests have to be separated since in -# print bar >foo >bar && print "$(foo >bar -0:setup 2-file multio - print "foo: $(foo: doo be doo be doo >bar: doo be doo be doo @@ -162,11 +156,9 @@ rm -f * touch out1 out2 print All files >* -0:setup multio with globbing - print * print "out1: $(out1 out2 >out1: All files >out2: All files diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst index c1d7d289d..633235eb5 100644 --- a/Test/D03procsubst.ztst +++ b/Test/D03procsubst.ztst @@ -17,8 +17,8 @@ 0:<(...) substitution >First Dritte - paste <(cut -f2 FILE1) <(cut -f4 FILE2) > >(sed 's/e/E/g' >OUTFILE) - sleep 1 # since the sed is asynchronous +# slightly desperate hack to force >(...) to be synchronous + { paste <(cut -f2 FILE1) <(cut -f4 FILE2) } > >(sed 's/e/E/g' >OUTFILE) cat OUTFILE 0:>(...) substitution >SEcond ViErtE -- cgit 1.4.1