odyssey/test/machinarium
Roman Khapov 9a6647fa33
Fix so nosigpipe (#629)
* machinarium/socket: fix enable usage

Seems like it was always set to 1 by mistake.

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>

* sources/sighandler.c: fix SIGPIPE ignoring

Seems like it was added into mask but not in ignore_mask by mistake.

This patchs will not change any behaviour because now there is no
SIGPIPE section in switch, which handles signals in oddyssey machine.

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>

* tests/oddyssey_test.c: add SIGPIPE ignoring

For now, tests doesn't have SIGPIPE ignoring.
This will lead to flaky behaviour for some tests (like tls unix socket),
because of the race for reading messages from closed socket.

This patch adds some new tests for closed socket reading and adds
SIGPIPE ignoring for odyssey_test.c

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>

---------

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>
2024-07-16 11:27:01 +05:00
..
ca.crt Update tls certs in test (#492) 2023-05-16 14:54:37 +05:00
client.crt Update tls certs in test (#492) 2023-05-16 14:54:37 +05:00
client.key Update tls certs in test (#492) 2023-05-16 14:54:37 +05:00
server.crt Update tls certs in test (#492) 2023-05-16 14:54:37 +05:00
server.key Update tls certs in test (#492) 2023-05-16 14:54:37 +05:00
test_accept_cancel.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_accept_timeout.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_cancel.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_create.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_rw0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_rw1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_rw2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_rw3.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_rw4.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_shared_create.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_shared_rw0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_shared_rw1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_shared_rw2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_channel_timeout.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_client_server0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_client_server1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_client_server2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_client_server_unix_socket.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_client_server_unix_socket_no_msg.c Fix so nosigpipe (#629) 2024-07-16 11:27:01 +05:00
test_condition0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_config.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_connect.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_connect_cancel0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_connect_cancel1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_connect_timeout.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_context_switch.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_create0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_create1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_eventfd.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_getaddrinfo0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_getaddrinfo1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_getaddrinfo2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_init.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_io_new.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_join.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_producer_consumer0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_producer_consumer1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_producer_consumer2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_read_10mb0.c Style fixes (#625) 2024-07-10 15:54:57 +05:00
test_read_10mb1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_read_10mb2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_read_cancel.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_read_timeout.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_read_var.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_signal0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_signal1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_signal2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_sleep.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_sleep_cancel0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_sleep_yield.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_sleeplock.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_stat.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls0.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls_read_10mb0.c Style fixes (#625) 2024-07-10 15:54:57 +05:00
test_tls_read_10mb1.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls_read_10mb2.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls_read_multithread.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls_read_var.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls_unix_socket.c fix formatting & apply fmt target in MAkefiel (#251) 2020-12-28 16:22:53 +05:00
test_tls_unix_socket_no_msg.c Fix so nosigpipe (#629) 2024-07-16 11:27:01 +05:00