aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-10-15 18:29:18 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-10-15 18:29:18 +0200
commitf2fa7a7fbf739ad38e0c10338bbcc59818c7670e (patch)
tree09372af13b53d3600f5dfa1b23fd57842a34bf25 /src/tests
parent41b7e7b048e67a0b329c820c81beccf42bf0957e (diff)
qcdm: don't retry probing if QCDM unescaping fails
But keep the retries when the frame marker isn't found. https://bugzilla.gnome.org/show_bug.cgi?id=708861
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test-qcdm-serial-port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test-qcdm-serial-port.c b/src/tests/test-qcdm-serial-port.c
index cd9365b5..1f88fad9 100644
--- a/src/tests/test-qcdm-serial-port.c
+++ b/src/tests/test-qcdm-serial-port.c
@@ -280,7 +280,8 @@ qcdm_verinfo_expect_fail_cb (MMPortSerialQcdm *port,
response = mm_port_serial_qcdm_command_finish (port, res, &error);
- g_assert_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED);
+ /* Expect any kind of error */
+ g_assert (error != NULL);
g_error_free (error);
g_assert (response == NULL);