tags 722503 + patch
thanks

Hi,

I have attach a patch to change the port.

CU
Jörg

-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key        : 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old pgp Key: BE581B6E (revoked since 2014-12-31).

Jörg Frings-Fürst
D-54526 Niederkail

Threema: SYR8SJXB

IRC: j_...@freenode.net
     j_...@oftc.net

My wish list: 
 - Please send me a picture from the nature at your home.


Description: Change port for build testing to 7890
Author: Jörg Frings-Fürst <deb...@jff-webhosting.net>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722503
Forwarded: not-needed
Last-Update: 2014-12-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/test/abyss.c
===================================================================
--- trunk.orig/test/abyss.c
+++ trunk/test/abyss.c
@@ -150,7 +150,7 @@ testChanSwitchOsSocket(void) {
         TServer server;
         const char * error;
 
-        bindSocketToPort(fd, 8080);
+        bindSocketToPort(fd, 7890);
 
         chanSwitchCreateFd(fd, &chanSwitchP, &error);
 
@@ -180,7 +180,7 @@ testChanSwitchSockAddr(void) {
     struct sockaddr_in sockAddr;
 
     sockAddr.sin_family = AF_INET;
-    sockAddr.sin_port   = htons(8080);
+    sockAddr.sin_port   = htons(7890);
     sockAddr.sin_addr   = test_ipAddrFromDecimal(127, 0, 0, 1);
 
     chanSwitchCreate2(PF_INET,
@@ -207,7 +207,7 @@ testChanSwitch(void) {
     TChanSwitch * chanSwitchP;
     const char * error;
 
-    chanSwitchCreate(8080, &chanSwitchP, &error);
+    chanSwitchCreate(7890, &chanSwitchP, &error);
 
     TEST_NULL_STRING(error);
 
@@ -220,7 +220,7 @@ testChanSwitch(void) {
     ChanSwitchDestroy(chanSwitchP);
 
 #ifndef _WIN32
-    chanSwitchCreateIpV6(8080, &chanSwitchP, &error);
+    chanSwitchCreateIpV6(7890, &chanSwitchP, &error);
 
     TEST_NULL_STRING(error);
 
@@ -278,7 +278,7 @@ testOsSocket(void) {
         TServer server;
         abyss_bool success;
 
-        bindSocketToPort(fd, 8080);
+        bindSocketToPort(fd, 7890);
 
         success = ServerCreateSocket(&server, NULL, fd, NULL, NULL);
 
@@ -335,12 +335,12 @@ testServerCreate(void) {
     TServer server;
     abyss_bool success;
 
-    success = ServerCreate(&server, NULL, 8080, NULL, NULL);
+    success = ServerCreate(&server, NULL, 7890, NULL, NULL);
     TEST(success);
     ServerInit(&server);
     ServerFree(&server);
 
-    success = ServerCreate(&server, "myserver", 8080,
+    success = ServerCreate(&server, "myserver", 7890,
                            "/tmp/docroot", "/tmp/logfile");
     TEST(success);
     ServerInit(&server);
@@ -354,7 +354,7 @@ testServerCreate(void) {
         TChanSwitch * chanSwitchP;
         const char * error;
 
-        chanSwitchCreate(8080, &chanSwitchP, &error);
+        chanSwitchCreate(7890, &chanSwitchP, &error);
         
         TEST_NULL_STRING(error);
 
Index: trunk/test/server_abyss.c
===================================================================
--- trunk.orig/test/server_abyss.c
+++ trunk/test/server_abyss.c
@@ -159,7 +159,7 @@ testObjectParm(void) {
     {
         struct sockaddr_in localhost;
         localhost.sin_family = AF_INET;
-        localhost.sin_port = htons(8080);
+        localhost.sin_port = htons(7890);
         localhost.sin_addr = test_ipAddrFromDecimal(127, 0, 0, 1);
 
         parms.sockaddr_p = (const struct sockaddr *)&localhost;
@@ -252,7 +252,7 @@ test_server_abyss(void) {
 
     printf("Running Abyss XML-RPC server tests...\n");
 
-    ServerCreate(&abyssServer, "testserver", 8080, NULL, NULL);
+    ServerCreate(&abyssServer, "testserver", 7890, NULL, NULL);
     
     testSetHandlers(&abyssServer);
 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to