linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.31k stars 1.01k forks source link

open_posix: fix the send_rev_2.c testcase MSG_SIZE error use #1070

Closed extinguish closed 9 months ago

extinguish commented 1 year ago

open_posix: fix the ltp send_rev_2.c testcase, in the send_rev_2.c the MSG_SIZE are not equal with the true msg size that defined in "s_msg_ptr", so we need to use "strlen(s_msg_ptr[i])" to replace the origin MSG_SIZE

Signed-off-by: nietingting nietingting@xiaomi.com

metan-ucw commented 9 months ago

Applied with hand updated commit message, thanks.