SIGPIPE is not available on the Windows platform.
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
virAuthConfigPtr config;
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
#define TEST_LOOKUP(config, hostname, service, credname, expect) \
do { \
{
int ret = 0;
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
if (virTestRun("Test parse", testParse, NULL) < 0)
ret = -1;
{
int ret = 0;
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
if (virTestRun("Lockspace creation", testLockSpaceCreate, NULL) < 0)
ret = -1;
{
int ret = 0;
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
if (virTestRun("Message Header Encode", testMessageHeaderEncode, NULL) < 0)
ret = -1;
int freePort;
#endif
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
virEventRegisterDefaultImpl();
{
int ret = 0;
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
#define TEST_FIELDS(ts, year, mon, day, hour, min, sec) \
do { \
{
int ret = 0;
+#ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+#endif /* WIN32 */
#define TEST_FULL(uri, uri_out, scheme, server, port, path, query, \
fragment, user, params) \