diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-04-10 09:00:04 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-04-10 09:31:34 +0200 |
commit | 5af5beae4ee746716938c52c8a2c4a42ec6a3c08 (patch) | |
tree | 52932587749e8088c38646553ca28bf75598c1ed | |
parent | 1f2742f85da1aa1f4c73c44d7fdf1a8f41c82c7d (diff) | |
download | gnutls-5af5beae4ee746716938c52c8a2c4a42ec6a3c08.tar.gz |
Disable openpgp-auth run in windows due to lack of socketpair(). Patch by LRN.
-rw-r--r-- | tests/openpgp-auth.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/openpgp-auth.c b/tests/openpgp-auth.c index 37c967cf99..9da10b6642 100644 --- a/tests/openpgp-auth.c +++ b/tests/openpgp-auth.c @@ -33,11 +33,13 @@ #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> +#if !defined(_WIN32) #include <sys/wait.h> +#endif #include <string.h> #include <errno.h> #include <stdio.h> - +#if !defined(_WIN32) static const char message[] = "Hello, brave GNU world!"; /* The OpenPGP key pair for use and the key ID in those keys. */ @@ -253,3 +255,10 @@ doit () } } +#else +void +doit () +{ + exit (77); +} +#endif |