test: replace echo with socat
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 29 Jan 2019 18:33:15 +0000 (19:33 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 14 Feb 2019 11:16:39 +0000 (12:16 +0100)
commitbf7631e7c0a7d1cac2f071ce998d5c669aa5abd7
tree3960f1fe21d7a76b3c52c84603922ca8f4419c01
parent7c52627446e32df64ad4cd3ac56ad515d0233cea
test: replace echo with socat

The original version of the test used netcat along with a standard
AF_UNIX socket, which caused issues across different netcat
implementations. The AF_UNIX socket was then replaced by a FIFO with a
simple echo, which, however, suffers from the same issue (some echo
implementations don't check if the write() was successful).

Let's revert back to the AF_UNIX socket, but replace netcat with socat,
which, hopefully, resolves the main issue.

Relevant commit: 9b45c2bf02a43e3e1b42de1ab0c3fe29c64dc5f5

(cherry picked from commit b35d6d828b3216d022e565820d9971cb0f7746c1)
test/TEST-10-ISSUE-2467/test.sh