Skip to content

Commit

Permalink
Delete broken/unused test requirement helper "IPv6"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
robmry committed May 1, 2024
1 parent 4aff2fb commit fda708f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions integration-cli/requirements_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ func containerdSnapshotterEnabled() bool {
return false
}

func IPv6() bool {
cmd := exec.Command("test", "-f", "/proc/net/if_inet6")
return cmd.Run() != nil
}

func UserNamespaceROMount() bool {
// quick case--userns not enabled in this test run
if os.Getenv("DOCKER_REMAP_ROOT") == "" {
Expand Down

0 comments on commit fda708f

Please sign in to comment.