Test if parser is properly handling single '\r'. --- unit/test-hfp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unit/test-hfp.c b/unit/test-hfp.c index 20aa0b5..a8801b0 100644 --- a/unit/test-hfp.c +++ b/unit/test-hfp.c @@ -465,6 +465,9 @@ int main(int argc, char *argv[]) '\r'), type_pdu(HFP_GW_CMD_TYPE_SET, 0), data_end()); + define_test("/hfp/test_empty", test_fragmented, NULL, + raw_pdu('\r'), + data_end()); return g_test_run(); } -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html