moby/testutil
Paweł Gronowski bc94dfc7d2
hack: Load special images on demand
Rewrite `.build-empty-images` shell script that produced special images
(emptyfs with no layers, and empty danglign image) to a Go functions
that construct the same archives in a temporary directory.

Use them to load these images on demand only in the tests that need
them.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-12-06 17:16:37 +01:00
..
daemon test: Add a test for userns remapped daemon commit 2023-11-08 12:33:03 +01:00
environment hack: Load special images on demand 2023-12-06 17:16:37 +01:00
fakecontext testutil: format code with gofumpt 2023-06-29 00:05:27 +02:00
fakegit refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakestorage api/types: move ContainerStartOptions to api/types/container 2023-10-12 11:29:24 +02:00
fixtures Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
registry test: update registry version to latest 2023-08-24 12:08:32 +02:00
request Wire up tests to support otel tracing 2023-09-07 18:38:22 +00: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 switch to go.opentelemetry.io/otel/semconv/v1.17.0 2023-10-16 10:28:54 +02: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