summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/testutil
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/test/testutil')
-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.