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