]> git.ipfire.org Git - thirdparty/systemd.git/commit
test/TEST-12-ISSUE-3171: specify -w1 option to netcat due to default change. (#5722)
authorDimitri John Ledkov <xnox@ubuntu.com>
Tue, 11 Apr 2017 19:34:29 +0000 (20:34 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 11 Apr 2017 19:34:29 +0000 (22:34 +0300)
commitc618423a5aacb0378985f6d49d31be65866ab79a
tree8f297bbea826c69d817cc19d6c962b4f5b77e3d5
parentc258349f1a56b987fd91a5c136fd15536eec3890
test/TEST-12-ISSUE-3171: specify -w1 option to netcat due to default change. (#5722)

On Ubuntu 17.04 (zesty zapus) netcat-openbsd was upgraded from 1.105-7ubuntu1
to 1.130-3, at the same time the defaults got changed from -q0 to -q-1
(infinity) the net result is that `echo A | nc -U' call now hangs, preventing
the testcase to complete. One could use the old default of -q0, but that option
is not available in some netcat implementations. Thus settle to specify -w1
instead to mitigate the testcase hang.
test/TEST-12-ISSUE-3171/test.sh