test: Fix Windows cross build

This commit is contained in:
Hennadii Stepanov
2021-02-08 15:11:07 +02:00
parent b401b09355
commit 723eb4326b
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +9,6 @@
#include <cassert>
#include <cstdint>
#include <netinet/in.h>
#include <vector>
FUZZ_TARGET(netaddress)

View File

@@ -78,7 +78,9 @@ FUZZ_TARGET(string)
}
(void)SanitizeString(random_string_1);
(void)SanitizeString(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 3));
#ifndef WIN32
(void)ShellEscape(random_string_1);
#endif // WIN32
int port_out;
std::string host_out;
SplitHostPort(random_string_1, port_out, host_out);