moby/integration/network
Sebastiaan van Stijn 7e67bc067f
integration/libnetwork: make delInterface() a t.Helper()
Otherwise errors within this function will all show to be at the line
number of the utility, instead of where it failed in the test:

    === RUN   TestDaemonDefaultNetworkPools
        service_test.go:23: assertion failed:
            Command:  ip link delete docker0
            ExitCode: 127
            Error:    exec: "ip": executable file not found in $PATH
            Stdout:
            Stderr:

            Failures:
            ExitCode was 127 expected 0
            Expected no error

    === RUN   TestDaemonRestartWithExistingNetwork
        service_test.go:23: assertion failed:
            Command:  ip link delete docker0
            ExitCode: 127
            Error:    exec: "ip": executable file not found in $PATH
            Stdout:
            Stderr:

            Failures:
            ExitCode was 127 expected 0
            Expected no error

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-20 13:33:13 +02:00
..
ipvlan vendor: bump libnetwork bf2bd42abc0a3734f12b5ec724e571434e42c669 2020-03-07 00:35:47 +01:00
macvlan test-integration: support more rootless tests 2020-03-16 17:37:38 +09:00
delete_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
dns_test.go integration/network: remove IsUserNamespace in favor of testenv equivalent 2021-08-12 09:12:04 +02:00
helpers.go integration/network: remove unused CheckKernelMajorVersionGreaterOrEqualThen 2021-08-12 09:16:21 +02:00
helpers_windows.go integration/network: remove IsUserNamespace in favor of testenv equivalent 2021-08-12 09:12:04 +02:00
inspect_test.go test-integration: support more rootless tests 2020-03-16 17:37:38 +09:00
main_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
network_test.go integration/network: remove IsUserNamespace in favor of testenv equivalent 2021-08-12 09:12:04 +02:00
service_test.go integration/libnetwork: make delInterface() a t.Helper() 2021-08-20 13:33:13 +02:00