diff options
Diffstat (limited to 'regress/sys/kern/kqueue/main.c')
-rw-r--r-- | regress/sys/kern/kqueue/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/regress/sys/kern/kqueue/main.c b/regress/sys/kern/kqueue/main.c index 26f1d50a2c1..d99507932ef 100644 --- a/regress/sys/kern/kqueue/main.c +++ b/regress/sys/kern/kqueue/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.6 2011/07/07 02:00:51 guenther Exp $ */ +/* $OpenBSD: main.c,v 1.7 2012/07/08 12:31:03 guenther Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain */ @@ -15,6 +15,7 @@ int do_random(void); int do_pty(void); int do_tun(void); int do_fdpass(void); +int do_flock(void); int main(int argc, char **argv) @@ -23,7 +24,7 @@ main(int argc, char **argv) int ret, c; ret = 0; - while ((c = getopt(argc, argv, "fFpPrstT")) != -1) { + while ((c = getopt(argc, argv, "fFlpPrstT")) != -1) { switch (c) { case 'f': ret |= check_inheritance(); @@ -31,6 +32,9 @@ main(int argc, char **argv) case 'F': ret |= do_fdpass(); break; + case 'l': + ret |= do_flock(); + break; case 'p': ret |= do_pipe(); break; |