wasm-micro-runtime/core/iwasm/libraries/lib-socket/test
Marcin Kolny 151600fef2
Fix wasi-sockets tests (#2389)
Tests were failing because the right permissions were not provided to iwasm.
Also, test failures didn't trigger build failure due to typo - also fixed in this change.

In addition to that, this PR fixes a few issues with the test itself:
* the `server_init_complete` was not reset early enough causing the client to occasionally
  assume the server started even though it didn't yet
* set `SO_REUSEADDR` on the server socket so the port can be reused shortly after
  closing the previous socket
* defined receive-send-receive sequence from server to make sure server is alive at the
  time of sending message
2023-07-30 19:34:09 +08:00
..
build.sh Use wasi-sdk-20 to build wasi-threads cases in CI (#2095) 2023-04-03 08:43:11 +08:00
nslookup.c Fix wasi-sockets tests (#2389) 2023-07-30 19:34:09 +08:00
tcp_udp.c Fix wasi-sockets tests (#2389) 2023-07-30 19:34:09 +08:00