diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-04 09:44:48 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-04 09:45:09 -0700 |
commit | 6b69f98dcd34d63e507cae1d8bfe83ea8d597830 (patch) | |
tree | 44c0cb8c447fd2775f79d300d0520e115555776b /hurd | |
parent | d36c52becb34101df18f410a9a2778def17fc6c8 (diff) | |
download | glibc-6b69f98dcd34d63e507cae1d8bfe83ea8d597830.zip glibc-6b69f98dcd34d63e507cae1d8bfe83ea8d597830.tar.gz glibc-6b69f98dcd34d63e507cae1d8bfe83ea8d597830.tar.bz2 |
benchtests: Add more tests for memrchr
bench-memchr.c is shared with bench-memrchr.c. This patch adds some
tests for positions close to the beginning for memrchr, which are
equivalent to positions close to the end for memchr.
* benchtests/bench-memchr.c (do_test): Print out both length
and position.
(test_main): Also test the position close to the beginning for
memrchr.
Diffstat (limited to 'hurd')
0 files changed, 0 insertions, 0 deletions