summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-08-31 16:11:07 -0700
committerShentubot <shentubot@google.com>2018-08-31 16:12:08 -0700
commit66c03b3dd79c45014da19f36973a85290e9a4458 (patch)
tree5c84a2a670963ea4aa9ba27b31b49756c39c8e0f
parentf0d88176549f097fadd3d547827aed3b951ddc92 (diff)
Mounting over '/tmp' may fail
PiperOrigin-RevId: 211160120 Change-Id: Ie5f280bdac17afd01cb16562ffff6222b3184c34
-rw-r--r--runsc/container/container_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go
index 4ce3afc91..e7e53c492 100644
--- a/runsc/container/container_test.go
+++ b/runsc/container/container_test.go
@@ -744,8 +744,8 @@ func TestUnixDomainSockets(t *testing.T) {
spec.Mounts = []specs.Mount{
specs.Mount{
Type: "bind",
- Destination: "/tmp",
- Source: "/tmp",
+ Destination: dir,
+ Source: dir,
},
}