aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/tests
diff options
context:
space:
mode:
authorStig M. Baugstø <1129097-stigma@users.noreply.gitlab.freedesktop.org>2024-10-23 17:11:07 +0200
committerStig M. Baugstø <1129097-stigma@users.noreply.gitlab.freedesktop.org>2024-10-24 15:21:57 +0200
commit0c167a51248cf9ff73f6f832e3d14e475a860e55 (patch)
treef1e6781ce3673448b16bc9e07ba60c376c22ed17 /src/plugins/tests
parent78508b7dcea158c3e54386f8bfdaf0fd855ea169 (diff)
cellient: new generic plugin for Cellient modems with optional QMI
Simple plugin handling Cellient (vid 0x2692) modems. Optional QMI through the WITH_QMI compile flag. Disables QMI WDS PCO for the Qualcomm-branded MPL200 by setting the ID_MM_QMI_PCO_DISABLED udev tag, effectively preventing a modem crash. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/842 Signed-off-by: Stig M. Baugstø <1129097-stigma@users.noreply.gitlab.freedesktop.org>
Diffstat (limited to 'src/plugins/tests')
-rw-r--r--src/plugins/tests/test-udev-rules.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/tests/test-udev-rules.c b/src/plugins/tests/test-udev-rules.c
index 91698f0b..8f5ffd64 100644
--- a/src/plugins/tests/test-udev-rules.c
+++ b/src/plugins/tests/test-udev-rules.c
@@ -112,6 +112,14 @@ test_x22x (void)
}
#endif
+#if defined ENABLE_PLUGIN_CELLIENT
+static void
+test_cellient (void)
+{
+ common_test (TESTUDEVRULESDIR_CELLIENT);
+}
+#endif
+
#if defined ENABLE_PLUGIN_CINTERION
static void
test_cinterion (void)
@@ -238,6 +246,9 @@ int main (int argc, char **argv)
#if defined ENABLE_PLUGIN_X22X
g_test_add_func ("/MM/test-udev-rules/x22x", test_x22x);
#endif
+#if defined ENABLE_PLUGIN_CELLIENT
+ g_test_add_func ("/MM/test-udev-rules/cellient", test_cellient);
+#endif
#if defined ENABLE_PLUGIN_CINTERION
g_test_add_func ("/MM/test-udev-rules/cinterion", test_cinterion);
#endif