summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/BUILD
diff options
context:
space:
mode:
authorTing-Yu Wang <anivia@google.com>2020-02-04 18:04:26 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-04 18:05:03 -0800
commit665b614e4a6e715bac25bea15c5c29184016e549 (patch)
treebd3f44cef497876bd44a34700af578a96f32a1dd /pkg/sentry/socket/netlink/BUILD
parentb29aeebaf6bb646dcb67e55b9930902975281685 (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/BUILD14
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",
+ ],
+)