Skip to content

Commit

Permalink
Rewrite fcnt14 test
Browse files Browse the repository at this point in the history
This test has been changed in order to generate testcases at runtime.

The new algorithm sets a random starting position on file using
lseek(), it randomly generates fcntl() parameters for parent and
child and it verifies that fcntl() will raise a blocking error on
child when it's supposed to.

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
  • Loading branch information
acerv committed Sep 11, 2024
1 parent 1759ad9 commit c56f59c
Showing 1 changed file with 209 additions and 1,044 deletions.
Loading

0 comments on commit c56f59c

Please sign in to comment.