summary refs log tree commit diff
path: root/src/core/tests/test-core-with-expect.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
committerMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
commit2f94dba7385fd0e0ef19a06eb4a2fcf6c43d7946 (patch)
treee2222f5577115985dd52044d2991253403cdd952 /src/core/tests/test-core-with-expect.c
parent88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (diff)
New upstream version 1.35.91 upstream/1.35.91
Diffstat (limited to 'src/core/tests/test-core-with-expect.c')
-rw-r--r--src/core/tests/test-core-with-expect.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/tests/test-core-with-expect.c b/src/core/tests/test-core-with-expect.c
index 01784863..eca098c4 100644
--- a/src/core/tests/test-core-with-expect.c
+++ b/src/core/tests/test-core-with-expect.c
@@ -98,7 +98,7 @@ test_nm_utils_kill_child_async_do(const char *name,
                                   int         sig,
                                   guint32     wait_before_kill_msec,
                                   gboolean    expected_success,
-                                  const int * expected_child_status)
+                                  const int  *expected_child_status)
 {
     gboolean                                   success;
     struct test_nm_utils_kill_child_async_data data = {};
@@ -135,7 +135,7 @@ test_nm_utils_kill_child_sync_do(const char *name,
                                  int         sig,
                                  guint32     wait_before_kill_msec,
                                  gboolean    expected_success,
-                                 const int * expected_child_status)
+                                 const int  *expected_child_status)
 {
     gboolean success;
     int      child_status = -1;
@@ -226,11 +226,11 @@ static void
 do_test_nm_utils_kill_child(void)
 {
     GLogLevelFlags fatal_mask;
-    char *         argv_watchdog[] = {
+    char          *argv_watchdog[] = {
         "bash",
         "-c",
         "sleep 4; "
-        "kill -KILL 0; #watchdog for #" TEST_TOKEN,
+                 "kill -KILL 0; #watchdog for #" TEST_TOKEN,
         NULL,
     };
     char *argv1[] = {
@@ -464,7 +464,7 @@ test_nm_utils_kill_child(void)
 static void
 _remove_at_indexes_init_random_idx(GArray *idx, guint array_len, guint idx_len)
 {
-    GRand *       rand = nmtst_get_rand();
+    GRand        *rand = nmtst_get_rand();
     gs_free char *mask = NULL;
     guint         i, max_test_idx;
 
@@ -515,7 +515,7 @@ _remove_at_indexes_init_random_idx(GArray *idx, guint array_len, guint idx_len)
 static void
 test_nm_utils_array_remove_at_indexes(void)
 {
-    gs_unref_array GArray *idx = NULL, *array = NULL;
+    gs_unref_array GArray         *idx = NULL, *array = NULL;
     gs_unref_hashtable GHashTable *unique = NULL;
     guint                          i_len, i_idx_len, i_rnd, i;