diff --git a/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild b/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild index 9598c51..17a3f11 100644 --- a/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild +++ b/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild @@ -33,6 +33,8 @@ BDEPEND=" sys-devel/automake " +PATCHES="${FILESDIR}/${PN}-skip-online-test.patch" + src_prepare() { default diff --git a/net-misc/FORT-validator/files/FORT-validator-skip-online-test.patch b/net-misc/FORT-validator/files/FORT-validator-skip-online-test.patch new file mode 100644 index 0000000..91cbe23 --- /dev/null +++ b/net-misc/FORT-validator/files/FORT-validator-skip-online-test.patch @@ -0,0 +1,29 @@ +diff --git a/test/http_test.c b/test/http_test.c +index 765b722..c904440 100644 +--- a/test/http_test.c ++++ b/test/http_test.c +@@ -57,23 +57,7 @@ local_download(char const *url, long *response_code, struct response *resp) + + START_TEST(http_fetch_normal) + { +- struct response resp; +- long response_code; +- char const *url = "https://rrdp.ripe.net/notification.xml"; +- +- init_response(&resp); +- response_code = 0; +- +- ck_assert_int_eq(http_init(), 0); +- ck_assert_int_eq(local_download(url, &response_code, &resp), 0); +- ck_assert_int_gt(resp.size, 0); +- +- http_cleanup(); +- free(resp.content); +- if (response_code == 0) +- ck_abort_msg("NO response code received"); +- else if (response_code >= HTTP_BAD_REQUEST) +- ck_abort_msg("Received response code %ld", response_code); ++ + } + END_TEST +