mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-09-15 05:30:09 +00:00
As this tcp_abort could be directly called by application thread without locking the TCP/TP core. This commit also reworks and fixes CI: 1) Unit tests build with format-f warnings with GCC-11 2) Reworked to use common shell scripts from both GitLab and GitHub CI
12 lines
350 B
Python
12 lines
350 B
Python
try:
|
|
import sys
|
|
from junit_xml import TestSuite as ts, TestCase as tc
|
|
|
|
t=tc("lingering close stress test")
|
|
if len(sys.argv) > 1 and sys.argv[1] == "failed":
|
|
t.add_failure_info("test got stuck when closing clients socket")
|
|
print(ts.to_xml_string([ts("SOCKET SO_LINGER stress test", [t])]))
|
|
|
|
except ImportError:
|
|
print()
|