SELinuxProject / selinux-testsuite

This is the upstream SELinux testsuite which is designed as a basic set of regression tests for the SELinux kernel functionality.
GNU General Public License v2.0
53 stars 43 forks source link

BUG: fix test hang when a server program exits early #51

Closed WOnder93 closed 5 years ago

WOnder93 commented 5 years ago

tests: add timeout for reading the flag file

...otherwise if a server program exits (on error) without writing to the flag file, the test script ends up waiting forever on the other end of the pipe.

Signed-off-by: Ondrej Mosnacek omosnace@redhat.com