]> git.proxmox.com Git - mirror_frr.git/commit
tests/topotests: Set -o cache_dir=/tmp
authorChristian Franke <chris@opensourcerouting.org>
Sat, 1 Dec 2018 16:16:01 +0000 (17:16 +0100)
committerChristian Franke <chris@opensourcerouting.org>
Sat, 1 Dec 2018 16:16:01 +0000 (17:16 +0100)
commitecd2f14c47b784f02a0b2bfb9c1199788ca1a131
tree5520be7594099a9c4fe8ae335dec81bd20fa5440
parent659782730bffea2d21e2fa22550db3166017061e
tests/topotests: Set -o cache_dir=/tmp

We are mounting the topotests from the host into the container
and mark them as read-only to avoid any modifications to the host.

Pytest tries to create a .pytest_chache directory in that location
which fails because of the read-only mount.

Configure a different cache dir which is writable to resolve this.

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