string: Make tests birdirectional test-memcpy.c
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 1 Nov 2021 05:49:48 +0000 (00:49 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Sat, 6 Nov 2021 21:17:30 +0000 (16:17 -0500)
commitd585ba47fcda99fdf228e3e45a01b11a15efbc5a
tree370869162f5f5108e2191083b4db0f10b753d330
parentd465e5e0daf6cf62435d1fb232c893893bbc3762
string: Make tests birdirectional test-memcpy.c

This commit updates the memcpy tests to test both dst > src and dst <
src. This is because there is logic in the code based on the

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
string/test-memcpy.c
string/test-memmove.c