diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-04-07 21:46:44 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-04-07 21:46:44 +0300 |
commit | 658ede8ca657fe56c7ea6b0a3a1bd89fb858d26d (patch) | |
tree | 928465fc4f72e2467451cf774d8dd96fdb958927 /test | |
parent | 82dec6932ed868d9466d23ac5956e09594707dd2 (diff) | |
download | egawk-658ede8ca657fe56c7ea6b0a3a1bd89fb858d26d.tar.gz egawk-658ede8ca657fe56c7ea6b0a3a1bd89fb858d26d.tar.bz2 egawk-658ede8ca657fe56c7ea6b0a3a1bd89fb858d26d.zip |
Fix race condition in fatal errors for one end closed on two way pipe.
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/clos1way2.ok | 4 | ||||
-rw-r--r-- | test/clos1way3.ok | 4 | ||||
-rw-r--r-- | test/clos1way4.ok | 4 |
4 files changed, 11 insertions, 6 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 2867f6cb..bf40d8a6 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2016-04-07 Arnold D. Robbins <arnold@skeeve.com> + + * clos1way2.ok, clos1way3.ok, clos1way4.ok: Updated after + code changes. + 2016-04-04 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (clos1way2, clos1way3, clos1way4, clos1way5): diff --git a/test/clos1way2.ok b/test/clos1way2.ok index 063c4213..67240ac9 100644 --- a/test/clos1way2.ok +++ b/test/clos1way2.ok @@ -1,4 +1,4 @@ gawk: clos1way2.awk:4: (FILENAME=- FNR=1) warning: fflush: cannot flush: two-way pipe `cat - 1>&2; sleep 2' has closed write end -gawk: clos1way2.awk:5: (FILENAME=- FNR=1) fatal: print: attempt to write to closed write end of two-way pipe test -CODE: 2 +gawk: clos1way2.awk:5: (FILENAME=- FNR=1) fatal: print: attempt to write to closed write end of two-way pipe +EXIT CODE: 2 diff --git a/test/clos1way3.ok b/test/clos1way3.ok index 74f67738..b0157fa1 100644 --- a/test/clos1way3.ok +++ b/test/clos1way3.ok @@ -1,3 +1,3 @@ -gawk: clos1way3.awk:5: fatal: print: attempt to write to closed write end of two-way pipe test1 -ODE: 2 +gawk: clos1way3.awk:5: fatal: print: attempt to write to closed write end of two-way pipe +EXIT CODE: 2 diff --git a/test/clos1way4.ok b/test/clos1way4.ok index 707f9813..e30aa7f6 100644 --- a/test/clos1way4.ok +++ b/test/clos1way4.ok @@ -1,3 +1,3 @@ -gawk: clos1way4.awk:5: fatal: printf: attempt to write to closed write end of two-way pipe test1 -ODE: 2 +gawk: clos1way4.awk:5: fatal: printf: attempt to write to closed write end of two-way pipe +EXIT CODE: 2 |