Skip to content

Commit

Permalink
builds: set up netdevsim device in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Layher <[email protected]>
  • Loading branch information
mdlayher committed Nov 11, 2019
1 parent a404c08 commit 5c8f053
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .builds/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ tasks:
cd devlink/
/home/build/go/bin/staticcheck ./...
/home/build/go/bin/golint -set_exit_status ./...
# Set up a simulated devlink device for integration test purposes.
sudo modprobe netdevsim
sudo ip link add netdev0 type netdevsim
go test -v -race ./...

0 comments on commit 5c8f053

Please sign in to comment.