string: Add len=0 to {w}memcmp{eq} tests and benchtests
authorNoah Goldstein <goldstein.w.n@gmail.com>
Sat, 29 Oct 2022 20:19:57 +0000 (15:19 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 9 Nov 2022 03:19:35 +0000 (19:19 -0800)
commitca7d181b62f703ae56b7be1e27428184560f68b4
tree7ba13edf767a4cb6e452cd093b51e99170cfa7cb
parent2e274cd8c1ebd0bd0c43a7f2e5433685740938ca
string: Add len=0 to {w}memcmp{eq} tests and benchtests

len=0 is valid and fairly common so should be tested.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
benchtests/bench-memcmp.c
string/test-memcmp.c