moby/testutil/daemon
Paweł Gronowski 88992de283
StartWithLogFile: Fix d.cmd race
Use `exec.Command` created by this function instead of obtaining it from
daemon struct. This prevents a race condition where `daemon.Kill` is
called before the goroutine has the chance to call `cmd.Wait`.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-03-20 16:16:44 +01:00
..
config.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
container.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
daemon.go StartWithLogFile: Fix d.cmd race 2023-03-20 16:16:44 +01:00
daemon_freebsd.go Port testutil/daemon to FreeBSD 2021-10-16 09:51:55 +03:00
daemon_linux.go testutil: use filepath.WalkDir instead of filepath.Walk 2022-10-09 17:26:31 +02:00
daemon_unix.go Port testutil/daemon to FreeBSD 2021-10-16 09:51:55 +03:00
daemon_windows.go Do not call mount.RecursiveUnmount() on Windows 2020-10-29 23:00:16 +01:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
node.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
ops.go daemon: support other containerd runtimes (MVP) 2022-07-27 14:22:49 -04:00
plugin.go testutil: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
secret.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
service.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
swarm.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00