mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Do not run switch_id test on Windows
This commit is contained in:
parent
b9714e1366
commit
46694f2862
1 changed files with 8 additions and 0 deletions
|
@ -75,6 +75,13 @@ check_can_bind_low_ports(void)
|
|||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
|
||||
fprintf(stderr, "This test is not supported on your OS.\n");
|
||||
return 1;
|
||||
#else
|
||||
const char *testname;
|
||||
if (argc != 3) {
|
||||
fprintf(stderr, "I want 2 arguments: a username and a command.\n");
|
||||
|
@ -177,5 +184,6 @@ main(int argc, char **argv)
|
|||
}
|
||||
|
||||
return (okay ? 0 : 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue