Improve test coverage of strnlen function
authorSunil K Pandey <skpgkp2@gmail.com>
Mon, 31 May 2021 17:44:46 +0000 (10:44 -0700)
committerSunil K Pandey <skpgkp2@gmail.com>
Thu, 3 Jun 2021 18:16:51 +0000 (11:16 -0700)
commit642213e043040b2e3b5aad936986195491107e34
tree88694d5be411bd83c54bc1d3a217880c0bb7e361
parent466c1ea15f461edb8e3ffaf5d86d708876343bbf
Improve test coverage of strnlen function

This patch covers the following condition:

Strings start with different alignments and end with length less than or
equal to 512 byte.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
string/test-strnlen.c