Rename yield() to the test_server_yield()

This commit ensures that the test_server binary will build on Solaris,
which has yield() definition within 'unistd.h'.
This commit is contained in:
Artem Boldariev
2022-04-12 15:44:40 +03:00
parent 65d929e0d3
commit f83d128ece

View File

@@ -202,7 +202,7 @@ teardown(void) {
}
static void
yield(void) {
test_server_yield(void) {
sigset_t sset;
int sig;
@@ -306,7 +306,7 @@ run(void) {
}
REQUIRE(result == ISC_R_SUCCESS);
yield();
test_server_yield();
isc_nm_stoplistening(sock);
isc_nmsocket_close(&sock);