disable test-detach on Windows

This commit is contained in:
Roland C. Dowdeswell
2019-11-19 16:16:21 +00:00
committed by Viktor Dukhovni
parent 3b828e23e7
commit 8b20d436d9

View File

@@ -50,6 +50,11 @@
int main(int argc, char **argv)
{
/*
* XXXrcd: let's see how much further the tests get when we disable this
* on Windows.
*/
#ifndef WIN32
char *ends;
long n;
int fd = -1;
@@ -89,4 +94,7 @@ int main(int argc, char **argv)
sleep(5);
fprintf(stderr, "Daemon child done\n");
return 0;
#else
return 0;
#endif
}