]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/docker/inner/entrypoint.sh
tests/topotests: Use copied tests in Docker
authorChristian Franke <chris@opensourcerouting.org>
Thu, 6 Dec 2018 14:26:57 +0000 (15:26 +0100)
committerChristian Franke <chris@opensourcerouting.org>
Thu, 6 Dec 2018 14:30:03 +0000 (15:30 +0100)
commitebdaa9ce5f1fc8af836b6fe6d2a49ac5d0cc5cea
tree65bf85e27c425214c0d7ceafcbaaef133ebe85c8
parent8ba26ecda7ccc1e1ea93cbe66efb4c9fcd962ecb
tests/topotests: Use copied tests in Docker

If we mount the tests into the container from the host, we also
mount any `*.pyc` files with them, which will lead to issues
as the mount is done read-only to avoid any changes to the host.

Since the tests are now integrated and we already create a writeable
copy of the FRR tree, just use the tests from the FRR tree to avoid
this issue.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
tests/topotests/Dockerfile
tests/topotests/docker/frr-topotests.sh
tests/topotests/docker/inner/entrypoint.sh