File: 0004-test-easy.c-Skip-internet-access-test.patch

package info (click to toggle)
libnxml 0.18.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 428 kB
  • sloc: ansic: 3,204; makefile: 45; sh: 33
file content (22 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Boyuan Yang <byang@debian.org>
Date: Sat, 5 Feb 2022 22:01:06 -0500
Subject: test/easy.c: Skip internet access test

---
 test/easy.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/easy.c b/test/easy.c
index fb8a6d8..ac8422f 100644
--- a/test/easy.c
+++ b/test/easy.c
@@ -40,6 +40,9 @@ int main(int argc, char **argv) {
   err = nxmle_free(data);
   check(data, err);
 
+  fprintf(stdout, "** (Debian) Skipping tests using internet... ");
+  return 0;
+
   fprintf(stdout, "New data from url... ");
   data = nxmle_new_data_from_url("http://www.autistici.org/bakunin/index.php",
                                  &err);