Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171194007
D59227.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1018 B
Referenced Files
None
Subscribers
None
D59227.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D59227: tests/sys/kern: skip unix_connectat fdescfs cases when fdescfs is missing
Attached
Detach File
Event Timeline
Log In to Comment