[chrony-dev] [Git][chrony/chrony][master] test: fix socket unit test to use non-blocking accepted sockets

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 120bf449
    by Miroslav Lichvar at 2025-08-28T09:39:26+02:00
    test: fix socket unit test to use non-blocking accepted sockets
    
    SCK_AcceptConnection() always returns a non-blocking socket. Clear the
    O_NONBLOCK flag in the socket unit test, which relies on blocking, to
    avoid failures.
    
    Reported-by: Matthias Andree <matthias.andree@xxxxxx>
    

1 changed file:



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/