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.27k stars 1k forks source link

open_posix: modify code for fdcheck check compatibility #1068

Open extinguish opened 10 months ago

extinguish commented 10 months ago

open_posix: the origin implementation cannot pass the fdcheck test, using the OPEN_MAX to control can help compatible with the fdcheck test

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

metan-ucw commented 6 months ago

What is the exact problem you are hitting? Is there something open with fd 274 before control is passed to main()?