summaryrefslogtreecommitdiffhomepage
path: root/test/util/test_main.cc
diff options
context:
space:
mode:
authorKevin Lindkvist <lindkvist@google.com>2021-09-07 14:56:27 -0700
committergVisor bot <gvisor-bot@google.com>2021-09-07 14:58:39 -0700
commit2f2fb3813f59922156258b816ea50d49a70d617c (patch)
tree3b731c418617cf1c3bb36270b394dafb276a036b /test/util/test_main.cc
parentdfc518005bf9fd6abdc8dc906d7572f6cc2c5a35 (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/util/test_main.cc')
0 files changed, 0 insertions, 0 deletions