moby/testutil
Cory Snider 165dfd6c3e daemon: fix restoring container with missing task
Before 4bafaa00aa, if the daemon was
killed while a container was running and the container shim is killed
before the daemon is restarted, such as if the host system is
hard-rebooted, the daemon would restore the container to the stopped
state and set the exit code to 255. The aforementioned commit introduced
a regression where the container's exit code would instead be set to 0.
Fix the regression so that the exit code is once against set to 255 on
restore.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-06-23 11:28:45 -04:00
..
daemon daemon: fix restoring container with missing task 2023-06-23 11:28:45 -04:00
environment integration: Add TestImageInspectEmptyTagsAndDigests 2023-05-23 15:50:36 +02: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 remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02: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