Files
moby/integration-cli
Sebastiaan van Stijn 1378604cc3 integration-cli: remove tests for pre-docker 1.7 clients
The strslice.StrSlice type is a string-slice with a custom JSON Unmarshal
function to provide backward-compatibility with older API requests from
before docker 1.7 (see [moby@17d6f00] and [moby@ea4a067]), which used a
string instead of an array of strings for some fields (Cmd, Entrypoint).

We no longer support those API versions, and we no longer support pulling
v1 images that may contain such a config, so we can remove these tests that
validate the behavior as they're invalid API requests.

This;

- removes DockerAPISuite.TestPostContainerAPICreateWithStringOrSliceEntrypoint
- removes DockerAPISuite.TestPostContainersCreateWithStringOrSliceCmd
- removes DockerAPISuite.TestPostContainersCreateWithStringOrSliceCapAddDrop
- updates DockerAPISuite.TestContainerAPIPostCreateNull, which used an invalid example

[moby@17d6f00]: 17d6f00ec2
[moby@ea4a067]: ea4a06740b

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-23 14:48:21 +02:00
..
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00
2025-05-15 18:24:58 +02:00
2025-06-05 21:42:05 +00:00
2025-06-05 21:42:05 +00:00