diff options
| author | jmmv <jmmv@NetBSD.org> | 2010-06-04 08:39:40 +0000 |
|---|---|---|
| committer | jmmv <jmmv@NetBSD.org> | 2010-06-04 08:39:40 +0000 |
| commit | 6b84fb92ac54d6e3148cc9c42fdd365ad2e46524 (patch) | |
| tree | b9fa9c983ff67368674a3eeb03d205f7e9868201 /tests/kernel/kqueue/write | |
| parent | 6bf7fc8927cc07885334a44acd6f629b2b11d36b (diff) | |
atf-0.9 introduces an use.fs test-case property to allow tests to write to
their work directory. The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.
Define use.fs=true for all those tests requiring it. (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)
Diffstat (limited to 'tests/kernel/kqueue/write')
| -rw-r--r-- | tests/kernel/kqueue/write/t_fifo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/kernel/kqueue/write/t_fifo.c b/tests/kernel/kqueue/write/t_fifo.c index 62175fc340d..c6c09a67193 100644 --- a/tests/kernel/kqueue/write/t_fifo.c +++ b/tests/kernel/kqueue/write/t_fifo.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_fifo.c,v 1.1 2009/02/20 21:39:57 jmmv Exp $ */ +/* $NetBSD: t_fifo.c,v 1.2 2010/06/04 08:39:41 jmmv Exp $ */ /*- * Copyright (c) 2002, 2008 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: t_fifo.c,v 1.1 2009/02/20 21:39:57 jmmv Exp $"); +__RCSID("$NetBSD: t_fifo.c,v 1.2 2010/06/04 08:39:41 jmmv Exp $"); #include <sys/event.h> #include <sys/stat.h> @@ -54,6 +54,7 @@ ATF_TC(fifo); ATF_TC_HEAD(fifo, tc) { atf_tc_set_md_var(tc, "descr", "Checks EVFILT_WRITE for fifo"); + atf_tc_set_md_var(tc, "use.fs", "true"); } ATF_TC_BODY(fifo, tc) { |
