Commit 78b850be authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Disable the secure fork random test on Windows

Summary: Because forking is not a thing on Windows.

Reviewed By: yfeldblum

Differential Revision: D9565259

fbshipit-source-id: 140103d0df3b6d2d70a8e7d4eac96682e3430143
parent 687b7288
...@@ -139,6 +139,7 @@ TEST(Random, sanity) { ...@@ -139,6 +139,7 @@ TEST(Random, sanity) {
} }
} }
#ifndef _WIN32
TEST(Random, SecureFork) { TEST(Random, SecureFork) {
// Random buffer size is 128, must be less than that. // Random buffer size is 128, must be less than that.
int retries = 100; int retries = 100;
...@@ -170,3 +171,4 @@ TEST(Random, SecureFork) { ...@@ -170,3 +171,4 @@ TEST(Random, SecureFork) {
} }
} }
} }
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment