diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 12:08:22 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 12:18:42 +0100 |
commit | 8f6582160a6dce81d6c6bc080d05aaa0b85d9537 (patch) | |
tree | 5e8f28f7e8751401d9ce267d2f6edb414f5d3fe2 /test/docker | |
parent | Makefile: add a comment (diff) | |
download | config-links-8f6582160a6dce81d6c6bc080d05aaa0b85d9537.tar.gz config-links-8f6582160a6dce81d6c6bc080d05aaa0b85d9537.zip |
add an "integration" test
I noticed that doing links-update for my linux-home repository didn't
work on an old bash version. Building a test case to reproduce...
You should be able to check out this commit later and run
make test/docker/xenial
and it's supposed to fail with something like
/src/src/db.sh: line 194: wait: pid 1771 is not a child of this shell
Diffstat (limited to '')
-rw-r--r-- | test/docker-compose.yml | 5 | ||||
-rw-r--r-- | test/docker/Dockerfile | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/docker-compose.yml b/test/docker-compose.yml index ec55b25..76546c4 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -7,4 +7,7 @@ services: DISTRO: "${DISTRO:-xenial}" volumes: - ../:/src - command: /src/test/unit/test.sh + command: + - sh + - -c + - /src/test/unit/test.sh && /src/test/integration/test.sh diff --git a/test/docker/Dockerfile b/test/docker/Dockerfile index b67e6f0..5d4d016 100644 --- a/test/docker/Dockerfile +++ b/test/docker/Dockerfile @@ -4,6 +4,6 @@ FROM ubuntu:$DISTRO RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive \ - apt-get install -y --no-install-recommends git + apt-get install -y --no-install-recommends ca-certificates git RUN git config --global --add safe.directory /src |