tests/docker: add a docker-exec-copy-test

This provides test machinery for checking the QEMU copying logic works
properly. It takes considerably less time to run than starting a
debootstrap only for it to fail later. I considered adding a remove
command to docker.py but figured that might be gold plating given the
relative size of the containers compared to the ones with actual stuff
in them.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210202134001.25738-7-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2021-02-02 13:39:51 +00:00
parent 6147c2495d
commit ddd5ed8331
3 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,8 @@
#
# Empty Dockerfile
#
FROM scratch
# Add everything from the context into the container
ADD . /