moby/testutil
Paweł Gronowski e55d9b155d
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>
(cherry picked from commit 88992de283)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-03-22 15:43:20 +01:00
..
daemon StartWithLogFile: Fix d.cmd race 2023-03-22 15:43:20 +01:00
environment Dockerfile: Update Dockerfile syntax, switch to bullseye, add missing libseccomp-dev, remove build pack 2022-09-20 16:18:21 +05:30
fakecontext refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
fakegit refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
fakestorage refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
fixtures linting: gosec: fix or suppress G112, G114 in test code 2023-02-24 17:05:42 -05:00
registry refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
request refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helper.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helpers.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
stringutils.go gosec: G404: Use of weak random number generator 2022-08-17 18:09:41 +02:00
stringutils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00