# HG changeset patch # User Dmitry Volyntsev # Date 1615033288 0 # Node ID 7f1579e4372a96836e4f090d345f8f2246a4372a # Parent 69d71a15d40756987f4131e17d2cb60115b71779 Tests: fixed stream js exit tests introduced in 69d71a15d407. Previously, the tests relied upon the following assumption: two consecutive syswrite() in stream_daemon will be received as a single data chunk in stream which is not always the case. diff --git a/stream_js_exit.t b/stream_js_exit.t --- a/stream_js_exit.t +++ b/stream_js_exit.t @@ -69,8 +69,6 @@ stream { EOF -my $p = port(8080); - $t->write_file('test.js', <syswrite($buffer); - $client->syswrite($buffer); close $client; }