Handle tmp dir on Android
authorMichael Lee <mzlee@fb.com>
Fri, 29 Jan 2016 18:32:31 +0000 (10:32 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Fri, 29 Jan 2016 19:20:30 +0000 (11:20 -0800)
commit6ea3164ec9ac72d6411abc4a08b1ba34b7550e50
tree2828345540a48cd2b29ab85f071bf8f91491aeb2
parent754118c4e14f2b8e3c081f999029be05b3aeeba1
Handle tmp dir on Android

Summary:
There is no universally accessible tmpdir on Android which
means mkstemp fails. This diff calls a function that the test runner
should provide to fill a valid temporary directory.

Reviewed By: yangchi

Differential Revision: D2842034

fb-gh-sync-id: 9b826757bd750af016a18adccd5a21174be644d6
folly/test/FBStringTest.cpp