[Box Backup-commit] COMMIT r2497 - box/trunk/test/httpserver
boxbackup-dev@boxbackup.org
boxbackup-dev@boxbackup.org
Thu, 9 Apr 2009 23:45:34 +0100 (BST)
Author: chris
Date: 2009-04-09 23:45:34 +0100 (Thu, 09 Apr 2009)
New Revision: 2497
Modified:
box/trunk/test/httpserver/testhttpserver.cpp
Log:
Fix compile error due to misisng signals on Windows. httpserver test
still does not pass.
Modified: box/trunk/test/httpserver/testhttpserver.cpp
===================================================================
--- box/trunk/test/httpserver/testhttpserver.cpp 2009-04-09 22:44:58 UTC (rev 2496)
+++ box/trunk/test/httpserver/testhttpserver.cpp 2009-04-09 22:45:34 UTC (rev 2497)
@@ -358,7 +358,9 @@
// Run the request script
TEST_THAT(::system("perl testfiles/testrequests.pl") == 0);
+ #ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+ #endif
SocketStream sock;
sock.Open(Socket::TypeINET, "localhost", 1080);