diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A04redirect.ztst | 12 | ||||
-rw-r--r-- | Test/D03procsubst.ztst | 4 |
2 files changed, 4 insertions, 12 deletions
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)" -# the multios aren't flushed until after the substitutions take -# place. This can't be right. rm -f errout print doo be doo be doo >foo >bar -0:setup 2-file multio - print "foo: $(<foo)\nbar: $(<bar)" -0:read 2-file multio +0:2-file multio >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)\nout2: $(<out2)" -0:read multio with globbing +0:multio with globbing >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 |