summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/integration/exec_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-09-28 17:47:22 -0700
committerShentubot <shentubot@google.com>2018-09-28 17:48:14 -0700
commitcfdd418fe23880cad88639596c1171cbe7ad6ffb (patch)
treef060daffa70d7b2733a6a59214850d1c4321a67c /runsc/test/integration/exec_test.go
parentf21dde566641ee9d80730cc04f16d75df8b05036 (diff)
Made a few changes to make testutil.Docker easier to use
PiperOrigin-RevId: 215023376 Change-Id: I139569bd15c013e5dd0f60d0c98a64eaa0ba9e8e
Diffstat (limited to 'runsc/test/integration/exec_test.go')
-rw-r--r--runsc/test/integration/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/test/integration/exec_test.go b/runsc/test/integration/exec_test.go
index 6053ecd1c..910c36597 100644
--- a/runsc/test/integration/exec_test.go
+++ b/runsc/test/integration/exec_test.go
@@ -40,7 +40,7 @@ func TestExecCapabilities(t *testing.T) {
d := testutil.MakeDocker("exec-test")
// Start the container.
- if _, err := d.Run("alpine", "sh", "-c", "cat /proc/self/status; sleep 100"); err != nil {
+ if err := d.Run("alpine", "sh", "-c", "cat /proc/self/status; sleep 100"); err != nil {
t.Fatalf("docker run failed: %v", err)
}
defer d.CleanUp()