From c186ebb62a6005288d83feed0e43cca9f0577383 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 3 May 2018 21:08:38 -0700 Subject: Return error when child exits early PiperOrigin-RevId: 195365050 Change-Id: I8754dc7a3fc2975d422cae453762a455478a8e6a --- runsc/specutils/BUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'runsc/specutils/BUILD') diff --git a/runsc/specutils/BUILD b/runsc/specutils/BUILD index ae89260d2..1b6d265bc 100644 --- a/runsc/specutils/BUILD +++ b/runsc/specutils/BUILD @@ -1,6 +1,6 @@ package(licenses = ["notice"]) # Apache 2.0 -load("@io_bazel_rules_go//go:def.bzl", "go_library") +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "specutils", @@ -16,3 +16,10 @@ go_library( "@com_github_opencontainers_runtime-spec//specs-go:go_default_library", ], ) + +go_test( + name = "specutils_test", + size = "small", + srcs = ["specutils_test.go"], + embed = [":specutils"], +) -- cgit v1.2.3