aboutsummaryrefslogtreecommitdiffstats
path: root/community/gwenhywfar/fix-tests.patch
blob: a440b94170423ac47ee8f299ec5906399afdfc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -upr gwenhywfar-4.18.0.orig/checks/syncio_http.c gwenhywfar-4.18.0/checks/syncio_http.c
--- gwenhywfar-4.18.0.orig/checks/syncio_http.c	2014-07-23 22:28:23.000000000 +0200
+++ gwenhywfar-4.18.0/checks/syncio_http.c	2018-05-30 12:57:41.174981614 +0200
@@ -32,7 +32,7 @@ static int check_syncio_http1() {
 	    "ERROR in check_syncio_http1: Could not create socket io layer.\n");
     return 2;
   }
-  GWEN_SyncIo_Socket_SetAddress(sio, "devel.aqbanking.de");
+  GWEN_SyncIo_Socket_SetAddress(sio, "google.com");
   GWEN_SyncIo_Socket_SetPort(sio, 80);
 
   baseLayer=sio;
diff -upr gwenhywfar-4.18.0.orig/checks/syncio_https.c gwenhywfar-4.18.0/checks/syncio_https.c
--- gwenhywfar-4.18.0.orig/checks/syncio_https.c	2014-07-23 22:28:23.000000000 +0200
+++ gwenhywfar-4.18.0/checks/syncio_https.c	2018-05-30 12:57:14.844906364 +0200
@@ -33,7 +33,7 @@ static int check_syncio_https1() {
 	    "ERROR in check_syncio_http1: Could not create socket io layer.\n");
     return 2;
   }
-  GWEN_SyncIo_Socket_SetAddress(sio, "devel.aqbanking.de");
+  GWEN_SyncIo_Socket_SetAddress(sio, "google.com");
   GWEN_SyncIo_Socket_SetPort(sio, 443);
 
   baseLayer=sio;
@@ -82,7 +82,7 @@ static int check_syncio_https1() {
     GWEN_DB_SetCharValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "url", "/index.html");
 
     db=GWEN_SyncIo_Http_GetDbHeaderOut(sio);
-    GWEN_DB_SetCharValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "Host", "devel.aqbanking.de");
+    GWEN_DB_SetCharValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "Host", "google.com");
     GWEN_DB_SetIntValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "Content-length", 0);
     GWEN_DB_SetCharValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "Connection", "close");