Re: [PATCH 1/2] unit/test-hfp: Add test for parsing empty string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 04 of June 2014 19:41:07 Szymon Janc wrote:
> 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();
>  }
> 

Both patches pushed.

-- 
Best regards, 
Szymon Janc
--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux