moby/testutil
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
..
daemon StartWithLogFile: Fix d.cmd race 2023-03-20 16:16:44 +01:00
environment api: Remove <none> in Repo(Tags|Digests) for >= 1.43 2023-02-27 19:44:43 +01:00
fakecontext testutil: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
fakegit refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakestorage refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fixtures testutil: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
registry Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
request refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08: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 2021-06-10 13:03:18 +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