In AsyncSocketTest.SendMessageFlags test use folly::test::TemporaryFile object instea...
authorMaxim Georgiev <maxgeorg@fb.com>
Tue, 21 Mar 2017 02:31:48 +0000 (19:31 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 21 Mar 2017 02:39:03 +0000 (19:39 -0700)
commit3ffa8cf0d790a265ad7cfc172276eb09de26b30f
treefbc68082b2f625bbd06a3a080351d95315715324
parentb727acf4391c4f3300ab0348bf1032a02999b408
In AsyncSocketTest.SendMessageFlags test use folly::test::TemporaryFile object instead of directly creating a file with O_TMPFILE flag

Summary: O_TMPFILE flag is not available on older Linux systems (supported starting Linux 3.11). Got complains about it on GitHub (https://fburl.com/9d848m7i) Will use folly::test::TemporaryFile instead.

Reviewed By: yfeldblum

Differential Revision: D4729733

fbshipit-source-id: 903563825c5b939e35c61725da559e33d21212c4
folly/io/async/test/AsyncSocketTest2.cpp