Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163271095
D49633.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
745 B
Referenced Files
None
Subscribers
None
D49633.diff
View Options
diff --git a/lib/libc/tests/net/getaddrinfo/getaddrinfo.c b/lib/libc/tests/net/getaddrinfo/getaddrinfo.c
--- a/lib/libc/tests/net/getaddrinfo/getaddrinfo.c
+++ b/lib/libc/tests/net/getaddrinfo/getaddrinfo.c
@@ -79,7 +79,12 @@
}
}
-ATF_TC_WITHOUT_HEAD(basic);
+ATF_TC(basic);
+ATF_TC_HEAD(basic, tc)
+{
+ atf_tc_set_md_var(tc, "require.config", "allow_network_access");
+}
+
ATF_TC_BODY(basic, tc)
{
static const struct addrinfo hints = {
@@ -205,7 +210,11 @@
/*
* See https://reviews.freebsd.org/D37139.
*/
-ATF_TC_WITHOUT_HEAD(nofamily);
+ATF_TC(nofamily);
+ATF_TC_HEAD(nofamily, tc)
+{
+ atf_tc_set_md_var(tc, "require.config", "allow_network_access");
+}
ATF_TC_BODY(nofamily, tc)
{
static const struct addrinfo hints4 = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 3:14 PM (4 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35368969
Default Alt Text
D49633.diff (745 B)
Attached To
Mode
D49633: tests: Require allow_network_access for tests needing name resolution
Attached
Detach File
Event Timeline
Log In to Comment