From 5af5beae4ee746716938c52c8a2c4a42ec6a3c08 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 10 Apr 2011 09:00:04 +0200 Subject: Disable openpgp-auth run in windows due to lack of socketpair(). Patch by LRN. --- tests/openpgp-auth.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 #include #include +#if !defined(_WIN32) #include +#endif #include #include #include - +#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 -- cgit v1.2.1