diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/config/test-config.c | 4 | ||||
-rw-r--r-- | src/tests/test-dcb.c | 2 | ||||
-rw-r--r-- | src/tests/test-general-with-expect.c | 14 | ||||
-rw-r--r-- | src/tests/test-general.c | 8 | ||||
-rw-r--r-- | src/tests/test-ip4-config.c | 2 | ||||
-rw-r--r-- | src/tests/test-ip6-config.c | 2 | ||||
-rw-r--r-- | src/tests/test-resolvconf-capture.c | 2 | ||||
-rw-r--r-- | src/tests/test-wired-defname.c | 12 |
8 files changed, 23 insertions, 23 deletions
diff --git a/src/tests/config/test-config.c b/src/tests/config/test-config.c index 73358d027c..a3cbc3ec7c 100644 --- a/src/tests/config/test-config.c +++ b/src/tests/config/test-config.c @@ -29,7 +29,7 @@ #include "nm-test-utils-core.h" -/********************************************************************************/ +/*****************************************************************************/ static void _assert_config_value (const NMConfigData *config_data, const char *group, const char *key, const char *expected_value, const char *file, int line) @@ -46,7 +46,7 @@ _assert_config_value (const NMConfigData *config_data, const char *group, const } #define assert_config_value(config_data, group, key, expected_value) _assert_config_value (config_data, group, key, expected_value, __FILE__, __LINE__) -/********************************************************************************/ +/*****************************************************************************/ static NMConfig * setup_config (GError **error, const char *config_file, const char *intern_config, const char *const* atomic_section_prefixes, const char *config_dir, const char *system_config_dir, ...) diff --git a/src/tests/test-dcb.c b/src/tests/test-dcb.c index 0a133de369..2ab0f89056 100644 --- a/src/tests/test-dcb.c +++ b/src/tests/test-dcb.c @@ -334,7 +334,7 @@ test_fcoe_cleanup (void) g_assert (success); } -/*******************************************/ +/*****************************************************************************/ NMTST_DEFINE (); diff --git a/src/tests/test-general-with-expect.c b/src/tests/test-general-with-expect.c index ab2b15b5f2..3ec21328a3 100644 --- a/src/tests/test-general-with-expect.c +++ b/src/tests/test-general-with-expect.c @@ -36,7 +36,7 @@ #define CLOCK_BOOTTIME 7 #endif -/*******************************************/ +/*****************************************************************************/ static void test_nm_utils_monotonic_timestamp_as_boottime (void) @@ -72,7 +72,7 @@ test_nm_utils_monotonic_timestamp_as_boottime (void) } } -/*******************************************/ +/*****************************************************************************/ struct test_nm_utils_kill_child_async_data { @@ -370,7 +370,7 @@ test_nm_utils_kill_child (void) g_test_assert_expected_messages (); } -/*******************************************/ +/*****************************************************************************/ static void _remove_at_indexes_init_random_idx (GArray *idx, guint array_len, guint idx_len) @@ -469,7 +469,7 @@ test_nm_utils_array_remove_at_indexes (void) } } -/*******************************************/ +/*****************************************************************************/ static void test_nm_ethernet_address_is_valid (void) @@ -496,7 +496,7 @@ test_nm_ethernet_address_is_valid (void) g_assert ( nm_ethernet_address_is_valid (((guint8[8]) { 0x02,0x30,0xb4,0x00,0x00,0x01 }), ETH_ALEN)); } -/*******************************************/ +/*****************************************************************************/ typedef struct { union { @@ -852,7 +852,7 @@ test_nm_multi_index (void) _mi_test_run (50, 18); } -/*******************************************/ +/*****************************************************************************/ static void test_nm_utils_new_vlan_name (void) @@ -895,7 +895,7 @@ test_nm_utils_new_vlan_name (void) } } -/*******************************************/ +/*****************************************************************************/ NMTST_DEFINE (); diff --git a/src/tests/test-general.c b/src/tests/test-general.c index 9769ead11b..2596cff6af 100644 --- a/src/tests/test-general.c +++ b/src/tests/test-general.c @@ -267,7 +267,7 @@ test_nm_utils_log_connection_diff (void) g_clear_object (&connection); } -/*******************************************/ +/*****************************************************************************/ static NMConnection * _match_connection_new (void) @@ -953,7 +953,7 @@ test_connection_sort_autoconnect_priority (void) _test_connection_sort_autoconnect_priority_free (c2); } -/*******************************************/ +/*****************************************************************************/ static const char *_test_match_spec_all[] = { "e", @@ -1085,7 +1085,7 @@ test_nm_match_spec_interface_name (void) #undef S } -/*******************************************/ +/*****************************************************************************/ static void _do_test_match_spec_match_config (const char *file, gint line, const char *spec_str, guint version, guint v_maj, guint v_min, guint v_mic, NMMatchSpecMatchType expected) @@ -1227,7 +1227,7 @@ test_nm_match_spec_match_config (void) do_test_match_spec_match_config ("nm-version-min:1.6,nm-version-min:1.4.6,nm-version-min:1.2.16,except:nm-version:1.4.8", 1, 8, 8, NM_MATCH_SPEC_MATCH); } -/*******************************************/ +/*****************************************************************************/ static void test_nm_utils_strbuf_append (void) diff --git a/src/tests/test-ip4-config.c b/src/tests/test-ip4-config.c index 95b221bc0c..23dd1ab331 100644 --- a/src/tests/test-ip4-config.c +++ b/src/tests/test-ip4-config.c @@ -322,7 +322,7 @@ test_strip_search_trailing_dot (void) g_object_unref (config); } -/*******************************************/ +/*****************************************************************************/ NMTST_DEFINE (); diff --git a/src/tests/test-ip6-config.c b/src/tests/test-ip6-config.c index 3eceec0cbe..05b0320610 100644 --- a/src/tests/test-ip6-config.c +++ b/src/tests/test-ip6-config.c @@ -340,7 +340,7 @@ test_strip_search_trailing_dot (void) g_object_unref (config); } -/*******************************************/ +/*****************************************************************************/ NMTST_DEFINE(); diff --git a/src/tests/test-resolvconf-capture.c b/src/tests/test-resolvconf-capture.c index 32bc97342a..749eb664fb 100644 --- a/src/tests/test-resolvconf-capture.c +++ b/src/tests/test-resolvconf-capture.c @@ -287,7 +287,7 @@ test_capture_dns_options_valid6 (void) g_array_free (ns6, TRUE); g_ptr_array_free (dns_options, TRUE); } -/*******************************************/ +/*****************************************************************************/ NMTST_DEFINE (); diff --git a/src/tests/test-wired-defname.c b/src/tests/test-wired-defname.c index 3ae3a19d95..7f7e41f926 100644 --- a/src/tests/test-wired-defname.c +++ b/src/tests/test-wired-defname.c @@ -39,7 +39,7 @@ _new_connection (const char *id) return a; } -/*******************************************/ +/*****************************************************************************/ static char * _get_default_wired_name (GSList *list) @@ -55,7 +55,7 @@ _get_default_wired_name (GSList *list) return nm_device_ethernet_utils_get_default_wired_name (v); } -/*******************************************/ +/*****************************************************************************/ static void test_defname_no_connections (void) @@ -66,7 +66,7 @@ test_defname_no_connections (void) g_assert_cmpstr (name, ==, "Wired connection 1"); } -/*******************************************/ +/*****************************************************************************/ static void test_defname_no_conflict (void) @@ -84,7 +84,7 @@ test_defname_no_conflict (void) g_slist_free_full (list, g_object_unref); } -/*******************************************/ +/*****************************************************************************/ static void test_defname_conflict (void) @@ -102,7 +102,7 @@ test_defname_conflict (void) g_slist_free_full (list, g_object_unref); } -/*******************************************/ +/*****************************************************************************/ static void test_defname_multiple_conflicts (void) @@ -124,7 +124,7 @@ test_defname_multiple_conflicts (void) g_slist_free_full (list, g_object_unref); } -/*******************************************/ +/*****************************************************************************/ NMTST_DEFINE (); |