From e7b44ef4c80907346ec7492a09c45277459924fc Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 19 Aug 2020 10:13:49 +0200 Subject: New upstream version 1.26.2 --- libnm-core/tests/test-setting.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libnm-core/tests/test-setting.c') diff --git a/libnm-core/tests/test-setting.c b/libnm-core/tests/test-setting.c index 359c20c4..7a8193ee 100644 --- a/libnm-core/tests/test-setting.c +++ b/libnm-core/tests/test-setting.c @@ -2298,6 +2298,14 @@ test_tc_config_qdisc (void) nm_tc_qdisc_unref (qdisc1); nm_tc_qdisc_unref (qdisc2); + qdisc1 = nm_utils_tc_qdisc_from_str ("clsact", &error); + nmtst_assert_success (qdisc1, error); + str = nm_utils_tc_qdisc_to_str (qdisc1, &error); + nmtst_assert_success (str, error); + g_assert_cmpstr (str, ==, "clsact"); + nm_tc_qdisc_unref (qdisc1); + g_free (str); + #define CHECK_ATTRIBUTE(qdisc, name, vtype, type, value) \ variant = nm_tc_qdisc_get_attribute (qdisc, name); \ g_assert (variant); \ -- cgit 1.3.0-6-gf8a5