diff options
Diffstat (limited to 'src/tests/test-modem-helpers.c')
-rw-r--r-- | src/tests/test-modem-helpers.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/test-modem-helpers.c b/src/tests/test-modem-helpers.c index 489cbd46..21ed2f20 100644 --- a/src/tests/test-modem-helpers.c +++ b/src/tests/test-modem-helpers.c @@ -4250,8 +4250,8 @@ typedef struct { } TestCcwa; static TestCcwa test_ccwa[] = { - { "+CCWA: 0,255", FALSE, FALSE }, /* all disabled */ - { "+CCWA: 1,255", TRUE, FALSE }, /* all enabled */ + { "+CCWA: 0,255\r\n", FALSE, FALSE }, /* all disabled */ + { "+CCWA: 1,255\r\n", TRUE, FALSE }, /* all enabled */ { "+CCWA: 0,1\r\n" "+CCWA: 0,4\r\n", FALSE, FALSE }, /* voice and fax disabled */ { "+CCWA: 1,1\r\n" @@ -4326,7 +4326,7 @@ common_test_clcc_response (const gchar *str, static void test_clcc_response_empty (void) { - const gchar *response = ""; + const gchar *response = "\r\n"; common_test_clcc_response (response, NULL, 0); } @@ -4339,7 +4339,7 @@ test_clcc_response_single (void) }; const gchar *response = - "+CLCC: 1,1,0,0,0,\"123456789\",161"; + "+CLCC: 1,1,0,0,0,\"123456789\",161\r\n"; common_test_clcc_response (response, expected_call_info_list, G_N_ELEMENTS (expected_call_info_list)); } @@ -4353,7 +4353,7 @@ test_clcc_response_single_long (void) /* NOTE: priority field is EMPTY */ const gchar *response = - "+CLCC: 1,1,4,0,0,\"123456789\",129,\"\",,0"; + "+CLCC: 1,1,4,0,0,\"123456789\",129,\"\",,0\r\n"; common_test_clcc_response (response, expected_call_info_list, G_N_ELEMENTS (expected_call_info_list)); } |