05523e289b
The graphdriver implementation sets the ModTime of all image content to match the `Created` time from the image config, whereas the containerd's archive export code just leaves it empty (zero). Adjust the test in the case where containerd integration is enabled to check if config file ModTime is equal to zero (UNIX epoch) instead. This behaviour is not a part of the Docker Image Specification and the intention behind introducing it was to make the `docker save` produce the same archive regardless of the time it was performed. It would also be a bit problematic with the OCI archive layout which can contain multiple images referencing the same content. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com> |
||
---|---|---|
.. | ||
commit_test.go | ||
import_test.go | ||
inspect_test.go | ||
list_test.go | ||
main_test.go | ||
prune_test.go | ||
pull_test.go | ||
remove_test.go | ||
remove_unix_test.go | ||
save_test.go | ||
tag_test.go |