]> git.puffer.fish Git - mirror/frr.git/commit
tests: simplify docker rsync & support worktrees 8263/head
authorDavid Lamparter <equinox@diac24.net>
Tue, 16 Mar 2021 05:11:15 +0000 (06:11 +0100)
committerDavid Lamparter <equinox@diac24.net>
Wed, 17 Mar 2021 12:42:20 +0000 (13:42 +0100)
commit53abc26569bfe39808f3687383a21d5db6bbd439
tree87758007a3ddc129b90d0a260b07462d6804cbb2
parent071f5c1664288799ea923cdc160656562a5c39d6
tests: simplify docker rsync & support worktrees

The previous, more complex mechanism failed to take into account that
git worktrees only have a stub .git file & copying the worktree itself
is not enough.  Just extract a file list beforehand & don't bother with
git inside the container.

Signed-off-by: David Lamparter <equinox@diac24.net>
tests/topotests/docker/frr-topotests.sh
tests/topotests/docker/inner/compile_frr.sh
tests/topotests/docker/inner/funcs.sh