summaryrefslogtreecommitdiffhomepage
path: root/runsc/test
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-11-13 15:16:11 -0800
committerShentubot <shentubot@google.com>2018-11-13 15:17:19 -0800
commit7f558eda44bf93c31dfbbe621c2bb84d55b5701f (patch)
tree5be2aeed61c2f59622b9bb63ad5cab93f3adb497 /runsc/test
parent6c2d320138300dbea519028d16e12d66baa23c9d (diff)
Internal change.
PiperOrigin-RevId: 221343421 Change-Id: I418b5204c5ed4fe1e0af25ef36ee66b9b571928e
Diffstat (limited to 'runsc/test')
-rw-r--r--runsc/test/testutil/testutil.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/test/testutil/testutil.go b/runsc/test/testutil/testutil.go
index d323d7899..c816de3f0 100644
--- a/runsc/test/testutil/testutil.go
+++ b/runsc/test/testutil/testutil.go
@@ -139,6 +139,7 @@ func NewSpecWithArgs(args ...string) *specs.Spec {
Env: []string{
"PATH=" + os.Getenv("PATH"),
},
+ Capabilities: specutils.AllCapabilities(),
},
Mounts: []specs.Mount{
// Root is readonly, but many tests want to write to tmpdir.