Switch SocketAddressTest to use TemporaryFile instead of mkstemp
authorMichael Lee <mzlee@fb.com>
Thu, 22 Sep 2016 18:09:57 +0000 (11:09 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Thu, 22 Sep 2016 18:23:28 +0000 (11:23 -0700)
commitc27a6839ff172d033e631ef1dd87e7195a1d26ef
treecab88ea8b938ef85db7532218456486e64076ad4
parent7c05f8aff907815f30bce0053411a1c181baadc2
Switch SocketAddressTest to use TemporaryFile instead of mkstemp

Summary: Switch from mkstemp to the slightly more portable `folly::test::TemporaryFile`

Reviewed By: jsedgwick

Differential Revision: D3890411

fbshipit-source-id: e98d1e3a5adae92af1bb36f6213b194f633fab0f
folly/test/SocketAddressTest.cpp