tests/client_server: fixed quoiting style

Used right quoiting as set by
https://www.gnu.org/prep/standards/html_node/Quote-Characters.html#Quote-Characters
This commit is contained in:
Evgeny Grin (Karlson2k)
2024-08-21 13:17:10 +02:00
parent a99efd677e
commit 09d298fac4
3 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -279,7 +279,7 @@ run_single_client (void *cls)
const char *err;
fprintf (stderr,
"Client %u started in phase `%s'\n",
"Client %u started in phase '%s'\n",
cc->pc.client_id,
cc->phase->label);
err = cc->phase->client_cb (cc->phase->client_cb_cls,
@@ -287,7 +287,7 @@ run_single_client (void *cls)
if (NULL != err)
{
fprintf (stderr,
"Client %u failed in phase `%s': %s\n",
"Client %u failed in phase '%s': %s\n",
cc->pc.client_id,
cc->phase->label,
err);
@@ -305,7 +305,7 @@ run_single_client (void *cls)
"s",
1));
fprintf (stderr,
"Client %u finished in phase `%s'\n",
"Client %u finished in phase '%s'\n",
cc->pc.client_id,
cc->phase->label);
return NULL;
@@ -357,7 +357,7 @@ run_client_phase (const struct MHDT_Phase *phase,
make_pipe (p);
fprintf (stderr,
"Starting phase `%s'\n",
"Starting phase '%s'\n",
phase->label);
for (i = 0; i<num_clients; i++)
{
@@ -404,7 +404,7 @@ run_client_phase (const struct MHDT_Phase *phase,
if (0 != clients_left)
{
fprintf (stderr,
"Timeout (%u ms) in phase `%s': %u clients still running\n",
"Timeout (%u ms) in phase '%s': %u clients still running\n",
phase->timeout_ms,
phase->label,
clients_left);
@@ -424,7 +424,7 @@ cleanup:
test_check (0 == close (p[0]));
test_check (0 == close (p[1]));
fprintf (stderr,
"Finished phase `%s' with %s\n",
"Finished phase '%s' with %s\n",
phase->label,
ret ? "success" : "FAILURE");
return ret;
@@ -447,7 +447,7 @@ server_phase_logic (void *cls)
for (i = 0; NULL != ctx->phase->label; i++)
{
fprintf (stderr,
"Running server phase `%s'\n",
"Running server phase '%s'\n",
ctx->phase->label);
semaphore_down (&ctx->client_sem);
ctx->phase++;
@@ -569,7 +569,7 @@ MHDT_test (MHDT_ServerSetup ss_cb,
for (i = 0; NULL != phases[i].label; i++)
{
fprintf (stderr,
"Running test phase `%s'\n",
"Running test phase '%s'\n",
phases[i].label);
if (! run_client_phase (&phases[i],
&pc))
@@ -648,7 +648,7 @@ MHDT_client_do_post (
if (! pi->wants[i].satisfied)
{
fprintf (stderr,
"Server did not correctly detect key `%s'\n",
"Server did not correctly detect key '%s'\n",
pi->wants[i].key);
return "key-value data not matched by server";
}
+2 -2
View File
@@ -261,7 +261,7 @@ main (int argc, char *argv[])
int ret;
fprintf (stderr,
"Running tests with server setup `%s'\n",
"Running tests with server setup '%s'\n",
configs[i].label);
ret = MHDT_test (configs[i].server_setup,
configs[i].server_setup_cls,
@@ -271,7 +271,7 @@ main (int argc, char *argv[])
if (0 != ret)
{
fprintf (stderr,
"Test failed with server of type `%s' (%u)\n",
"Test failed with server of type '%s' (%u)\n",
configs[i].label,
i);
return ret;