mirror of
https://github.com/vishvananda/netlink
synced 2024-12-27 17:12:23 +00:00
c771f0b9d2
Added tests for: Table FLUSH Table GET Table DELETE with filter Filter match Use a simple UDP client to create flows into the conntrack for testing purpose Each test will run in a separate network namespace so can run in parallel Added kernel module dependencies into the travis file Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
14 lines
474 B
YAML
14 lines
474 B
YAML
language: go
|
|
before_script:
|
|
# make sure we keep path in tact when we sudo
|
|
- sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
|
|
# modprobe ip_gre or else the first gre device can't be deleted
|
|
- sudo modprobe ip_gre
|
|
# modprobe nf_conntrack for the conntrack testing
|
|
- sudo modprobe nf_conntrack
|
|
- sudo modprobe nf_conntrack_netlink
|
|
- sudo modprobe nf_conntrack_ipv4
|
|
- sudo modprobe nf_conntrack_ipv6
|
|
install:
|
|
- go get github.com/vishvananda/netns
|