Page MenuHomeFreeBSD

D59227.id.diff
No OneTemporary

D59227.id.diff

diff --git a/tests/sys/kern/unix_connectat.c b/tests/sys/kern/unix_connectat.c
--- a/tests/sys/kern/unix_connectat.c
+++ b/tests/sys/kern/unix_connectat.c
@@ -128,7 +128,6 @@
* rather than relying on the host's /dev/fd keeps the fdescfs cases
* self-contained: they exercise real fdescfs lookups regardless of how the
* host is set up, and the mode-specific behaviour below is then well defined.
- * Skips if the kernel has no fdescfs.
*/
static void
mount_fdescfs(const char * const *opts)
@@ -154,8 +153,6 @@
errmsg[0] = '\0';
error = nmount(iov, iovlen, 0);
- if (error != 0 && errno == ENODEV)
- atf_tc_skip("no fdescfs support in the kernel");
ATF_REQUIRE_MSG(error == 0, "mount fdescfs on %s: %s", FDDIR,
errmsg[0] != '\0' ? errmsg : strerror(errno));
@@ -183,6 +180,7 @@
ATF_TC_HEAD(name, tc) \
{ \
atf_tc_set_md_var(tc, "require.user", "root"); \
+ atf_tc_set_md_var(tc, "require.kmods", "fdescfs"); \
} \
ATF_TC_CLEANUP(name, tc) \
{ \

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 10, 10:19 AM (1 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38337985
Default Alt Text
D59227.id.diff (1018 B)

Event Timeline