diff options
author | Kevin Lindkvist <lindkvist@google.com> | 2021-09-07 14:56:27 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-07 14:58:39 -0700 |
commit | 2f2fb3813f59922156258b816ea50d49a70d617c (patch) | |
tree | 3b731c418617cf1c3bb36270b394dafb276a036b /test/BUILD | |
parent | dfc518005bf9fd6abdc8dc906d7572f6cc2c5a35 (diff) |
Conditionally use GetAbsoluteTestTmpdir() rather than hard-code "/tmp"
NewTempAbsPathInDir("/tmp") prevents the generated socket address from
exceeding sizeof(addr.sun_path). However, existing systems that are built with
the ANDROID configuration have their temp directory in a different location.
This change allows those systems to run tests that depend on UniqueUnixAddr.
PiperOrigin-RevId: 395336483
Diffstat (limited to 'test/BUILD')
0 files changed, 0 insertions, 0 deletions