From 258288c56bb1b0587183df592f932d8bf7da22df Mon Sep 17 00:00:00 2001 From: Cong Liu Date: Thu, 24 Nov 2022 15:04:01 +0800 Subject: [PATCH] change test http server port --- debian/changelog | 2 +- .../change-test-http-server-port-1.patch | 21 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 debian/patches/change-test-http-server-port-1.patch diff --git a/debian/changelog b/debian/changelog index b4411ab..53407a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -libgovirt (0.3.4-ok1build3) yangtze; urgency=medium +libgovirt (0.3.4-ok1build4) yangtze; urgency=medium * change test https server port diff --git a/debian/patches/change-test-http-server-port-1.patch b/debian/patches/change-test-http-server-port-1.patch new file mode 100644 index 0000000..dc80e6a --- /dev/null +++ b/debian/patches/change-test-http-server-port-1.patch @@ -0,0 +1,21 @@ +From: Cong Liu +Date: Thu, 24 Nov 2022 15:04:01 +0800 +Subject: change test http server port + +--- + tests/mock-httpd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/mock-httpd.c b/tests/mock-httpd.c +index ed7e680..e63c944 100644 +--- a/tests/mock-httpd.c ++++ b/tests/mock-httpd.c +@@ -16,7 +16,7 @@ + + #include "mock-httpd.h" + +-#define GOVIRT_HTTPS_PORT 80880 ++#define GOVIRT_HTTPS_PORT 7088 + + struct GovirtMockHttpd { + GThread *thread; diff --git a/debian/patches/series b/debian/patches/series index 97e73fb..a90da2e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ update_certs change-test-http-server-port.patch +change-test-http-server-port-1.patch