Browse code

Delete broken/unused test requirement helper "IPv6"

It'd only return true on a host with no IPv6 in its kernel.

So, removed, having fixed the two tests that used it.

Signed-off-by: Rob Murray <rob.murray@docker.com>

Rob Murray authored on 2024/05/02 03:28:16
Showing 1 changed files
... ...
@@ -97,11 +97,6 @@ func containerdSnapshotterEnabled() bool {
97 97
 	return false
98 98
 }
99 99
 
100
-func IPv6() bool {
101
-	cmd := exec.Command("test", "-f", "/proc/net/if_inet6")
102
-	return cmd.Run() != nil
103
-}
104
-
105 100
 func UserNamespaceROMount() bool {
106 101
 	// quick case--userns not enabled in this test run
107 102
 	if os.Getenv("DOCKER_REMAP_ROOT") == "" {