+58
−1
Loading
The test used waitforlisten() from autotest_common.sh to wait for a socat instance and happened to work only by a coincidence. As we can see in all the messages that waitforlisten prints, that function is meant for SPDK applications running an RPC server. We're about to simplify waitforlisten a lot, so for now just copy its current version to sock.sh and name it waitfortcp(). Note that it already had to be stripped of some rpc references. Change-Id: Ibbe7cf67d20fbc277d407b20073154a96ddaaade Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458221 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>