diff options
-rw-r--r-- | regress/sys/kern/flock/flock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/sys/kern/flock/flock.c b/regress/sys/kern/flock/flock.c index 154b85315bb..f4fa317600e 100644 --- a/regress/sys/kern/flock/flock.c +++ b/regress/sys/kern/flock/flock.c @@ -1288,6 +1288,7 @@ test15(int fd) err(1, "reading from pipe (child)"); fd2 = dup(fd); + FAIL(fd2 == -1); if (flock(fd, LOCK_SH) < 0) err(1, "flock shared"); |