summaryrefslogtreecommitdiffstats
path: root/tests/ts/script
diff options
context:
space:
mode:
authorSami Kerola2014-12-26 18:43:49 +0100
committerSami Kerola2015-06-08 22:52:51 +0200
commit89a859d433fbba81cd70ba5e42fc86e971233dce (patch)
tree400c4477517f9e55442054f372773d68ee7fb20c /tests/ts/script
parentscript: merge doinput() and output() functions to do_io() (diff)
downloadkernel-qcow2-util-linux-89a859d433fbba81cd70ba5e42fc86e971233dce.tar.gz
kernel-qcow2-util-linux-89a859d433fbba81cd70ba5e42fc86e971233dce.tar.xz
kernel-qcow2-util-linux-89a859d433fbba81cd70ba5e42fc86e971233dce.zip
script: remove io vs signal race
Make do_io() to run poll() until all streams are empty. This should remove the signal from child versus io handling race for good. Addresses: https://github.com/karelzak/util-linux/pull/62 Addresses: https://bugs.launchpad.net/bugs/264967 Addresses: https://bugs.debian.org/305808 CC: Wolfgang Richter <wolf@cs.cmu.edu> CC: Ruediger Meier <ruediger.meier@ga-group.nl> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/script')
-rwxr-xr-xtests/ts/script/race4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ts/script/race b/tests/ts/script/race
index 02c8187d6..65d48e29f 100755
--- a/tests/ts/script/race
+++ b/tests/ts/script/race
@@ -27,10 +27,6 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_SCRIPT"
-# TODO see comments about script design
-# https://github.com/karelzak/util-linux/pull/62
-TS_KNOWN_FAIL="yes"
-
bingofile="$TS_OUTDIR/${TS_TESTNAME}-bingo"
count=1000