test: one O_NONBLOCK is enough

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-01-29 14:34:47 +10:00
parent d1af333546
commit 345846729c

View file

@ -949,7 +949,7 @@ litest_fork_subtests(struct list *tests, int max_forks)
int rc;
int pipefd[2];
rc = pipe2(pipefd, O_NONBLOCK|O_NONBLOCK);
rc = pipe2(pipefd, O_NONBLOCK);
assert(rc != -1);
pid = fork();