ltp icon indicating copy to clipboard operation
ltp copied to clipboard

Write a regression test for a pipe hang

Open metan-ucw opened this issue 3 years ago • 3 comments

Details at:

https://lore.kernel.org/lkml/1628086770.5rn8p04n6j.none@localhost/

https://www.spinics.net/lists/linux-api/msg49762.html

metan-ucw avatar Aug 09 '21 09:08 metan-ucw

Use https://lore.kernel.org/lkml/1628086770.5rn8p04n6j.none@localhost/ running on 6.2.0-rc4+, the system also hang.

coolgw avatar Mar 25 '23 13:03 coolgw

This is a draft: https://github.com/linux-test-project/ltp/compare/master...Martchus:ltp:pipe15-1?expand=1

I'll send the patch when I think it is ready. I'm currently wondering how to deal with the situation when the test is run with a low RLIMIT_NOFILE. Should I add an explicit check for EMFILE and exit early with TCONF? Currently the test would exist with TBROK.

Martchus avatar Sep 22 '23 15:09 Martchus

https://patchwork.ozlabs.org/project/ltp/list/?series=374703

Martchus avatar Sep 25 '23 09:09 Martchus