diff options
author | Ting-Yu Wang <anivia@google.com> | 2020-02-04 18:04:26 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-04 18:05:03 -0800 |
commit | 665b614e4a6e715bac25bea15c5c29184016e549 (patch) | |
tree | bd3f44cef497876bd44a34700af578a96f32a1dd /pkg/sentry/socket/netlink/BUILD | |
parent | b29aeebaf6bb646dcb67e55b9930902975281685 (diff) |
Support RTM_NEWADDR and RTM_GETLINK in (rt)netlink.
PiperOrigin-RevId: 293271055
Diffstat (limited to 'pkg/sentry/socket/netlink/BUILD')
-rw-r--r-- | pkg/sentry/socket/netlink/BUILD | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netlink/BUILD b/pkg/sentry/socket/netlink/BUILD index f8b8e467d..1911cd9b8 100644 --- a/pkg/sentry/socket/netlink/BUILD +++ b/pkg/sentry/socket/netlink/BUILD @@ -1,4 +1,4 @@ -load("//tools:defs.bzl", "go_library") +load("//tools:defs.bzl", "go_library", "go_test") package(licenses = ["notice"]) @@ -33,3 +33,15 @@ go_library( "//pkg/waiter", ], ) + +go_test( + name = "netlink_test", + size = "small", + srcs = [ + "message_test.go", + ], + deps = [ + ":netlink", + "//pkg/abi/linux", + ], +) |