summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/testutil/testutil.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-02-25 18:05:58 -0800
committerShentubot <shentubot@google.com>2019-02-25 18:06:43 -0800
commit563c9ed1d6814776aa22d3a272fe55c15143fe79 (patch)
tree9dcb6dae50a302a302e9b564f7e7816857c50e6b /runsc/test/testutil/testutil.go
parent26be25e4ecec2fa66ee819e980de353d657aa1f6 (diff)
Use a custom, world-accessible, /tmp mount
This solves two problems: 1. Using the host /tmp directly meant that concurrent tests could collide attempting to use the same file, and that misbehaving tests never have their /tmp output cleaned up. 2. Host /tmp is not world-accessible on all hosts. Some tests (e.g., sticky) access files in /tmp from other users, so we need to ensure that its /tmp is world-accessible. PiperOrigin-RevId: 235637873 Change-Id: I7555224685ac5b93af88c403196b09ce1bb2bfe7
Diffstat (limited to 'runsc/test/testutil/testutil.go')
0 files changed, 0 insertions, 0 deletions